From c3a465ae98be6db1aee582f15380944b8faaeafc Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 26 Nov 2012 11:53:45 -0800 Subject: glcpp: Support #elif(expression) with no intervening space. And add test cases to ensure that this works - 110 verifies that glcpp rejects #elif which glcpp previously accepted. - 111 verifies that glcpp accepts #if followed immediately by (, +, -, !, or ~. - 112 does the same as 111 but for #elif. See 17f9beb6 for #if change. Reviewed-by: Carl Worth --- .../111-no-space-operator-after-hash-if.c.expected | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/glsl/glcpp/tests/111-no-space-operator-after-hash-if.c.expected (limited to 'src/glsl/glcpp/tests/111-no-space-operator-after-hash-if.c.expected') diff --git a/src/glsl/glcpp/tests/111-no-space-operator-after-hash-if.c.expected b/src/glsl/glcpp/tests/111-no-space-operator-after-hash-if.c.expected new file mode 100644 index 00000000000..e083008cd8c --- /dev/null +++ b/src/glsl/glcpp/tests/111-no-space-operator-after-hash-if.c.expected @@ -0,0 +1,20 @@ + +success + + + +success + + + +success + + + + + + + +success + + -- cgit v1.2.3