diff options
author | Carl Worth <[email protected]> | 2010-08-11 13:59:22 -0700 |
---|---|---|
committer | Carl Worth <[email protected]> | 2010-08-11 14:38:04 -0700 |
commit | 253cad3f424f71f6984431e5edbde1694ccfae3f (patch) | |
tree | b9930838da3da94b060c6589448ab48e129a3c42 /src/glsl/glcpp/tests | |
parent | 624dd585c72103e5bffbc600cdf7bdfba5305a15 (diff) |
glcpp: Add an explicit diagnostic for #if with no expression.
This is more clear than the previously-generated diagnostic which was
something confusing like "enexpected newline".
This change makse test 080-if-witout-expression.c now pass.
Diffstat (limited to 'src/glsl/glcpp/tests')
-rw-r--r-- | src/glsl/glcpp/tests/080-if-without-expression.c.expected | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/glsl/glcpp/tests/080-if-without-expression.c.expected b/src/glsl/glcpp/tests/080-if-without-expression.c.expected index 1a3e383e9ad..768ba0f473f 100644 --- a/src/glsl/glcpp/tests/080-if-without-expression.c.expected +++ b/src/glsl/glcpp/tests/080-if-without-expression.c.expected @@ -1,3 +1,6 @@ 0:2(1): preprocessor error: #if with no expression - + + + + |