Matteo Bruni : d3dcompiler: Skip stray semicolons outside of functions.
Alexandre Julliard
julliard at winehq.org
Fri Nov 9 11:03:23 CST 2012
Module: wine
Branch: master
Commit: feda13db337aceacb6f61bccb2b560f3cc094e21
URL: http://source.winehq.org/git/wine.git/?a=commit;h=feda13db337aceacb6f61bccb2b560f3cc094e21
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Fri Nov 9 15:20:38 2012 +0100
d3dcompiler: Skip stray semicolons outside of functions.
---
dlls/d3dcompiler_43/hlsl.y | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/d3dcompiler_43/hlsl.y b/dlls/d3dcompiler_43/hlsl.y
index b2740f6..6c360ec 100644
--- a/dlls/d3dcompiler_43/hlsl.y
+++ b/dlls/d3dcompiler_43/hlsl.y
@@ -1065,6 +1065,10 @@ hlsl_prog: /* empty */
| hlsl_prog preproc_directive
{
}
+ | hlsl_prog ';'
+ {
+ TRACE("Skipping stray semicolon.\n");
+ }
preproc_directive: PRE_LINE STRING
{
More information about the wine-cvs
mailing list