diff options
author | Carl Worth <[email protected]> | 2011-04-14 14:38:56 -0700 |
---|---|---|
committer | Carl Worth <[email protected]> | 2011-04-14 14:43:11 -0700 |
commit | 6affa4806a74c0f81fefa0be0212ec8574a74f4d (patch) | |
tree | f51b80783b01a053037051cf8e495ffad7bd2f9b /src/glsl | |
parent | d3c6ed382d8e02cd9f9e2cc77208b800abe17d54 (diff) |
Add an expected file for 084-unbalanced-parentheses
The expected file here captures the current behavior of glcpp (which
is to generate an obscure "syntax error, unexpected $end" diagnostic
for this case).
It would certainly be better for glcpp to generate a nicer diagnostic,
(such as "missing closing parenthesis in function-like macro
definition" or so), but the current behavior is at least correct, and
expected. So we can make the test suite more useful by marking the
current behavior as expected.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/glcpp/tests/084-unbalanced-parentheses.c.expected | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/084-unbalanced-parentheses.c.expected b/src/glsl/glcpp/tests/084-unbalanced-parentheses.c.expected new file mode 100644 index 00000000000..af49a37369d --- /dev/null +++ b/src/glsl/glcpp/tests/084-unbalanced-parentheses.c.expected @@ -0,0 +1,2 @@ +0:2(8): preprocessor error: syntax error, unexpected $end + |