d3dcompiler: Skip stray semicolons outside of functions.

This commit is contained in:
Matteo Bruni 2012-11-09 15:20:38 +01:00 committed by Alexandre Julliard
parent 0d2a27af40
commit feda13db33

View File

@ -1065,6 +1065,10 @@ hlsl_prog: /* empty */
| hlsl_prog preproc_directive
{
}
| hlsl_prog ';'
{
TRACE("Skipping stray semicolon.\n");
}
preproc_directive: PRE_LINE STRING
{