summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2014-06-20 19:11:27 -0700
committerCarl Worth <[email protected]>2014-07-29 15:11:49 -0700
commit0742e0acd302d90dd7f326cf641da61ac60a8508 (patch)
treebac0153b80470893d94f6b588b5c68d3ae3c8a49 /src/glsl/glcpp/tests
parentf583f214d5b8292aca91ec2217296b7ed17d9df4 (diff)
glsl/glcpp: Minor tweak to wording of error message
It makes more sense to print the directive name with the preceding '#'. Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests')
-rw-r--r--src/glsl/glcpp/tests/077-else-without-if.c.expected2
-rw-r--r--src/glsl/glcpp/tests/078-elif-without-if.c.expected2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/glcpp/tests/077-else-without-if.c.expected b/src/glsl/glcpp/tests/077-else-without-if.c.expected
index cc1c379cad3..64e6d1ac93e 100644
--- a/src/glsl/glcpp/tests/077-else-without-if.c.expected
+++ b/src/glsl/glcpp/tests/077-else-without-if.c.expected
@@ -1,3 +1,3 @@
-0:1(2): preprocessor error: else without #if
+0:1(2): preprocessor error: #else without #if
diff --git a/src/glsl/glcpp/tests/078-elif-without-if.c.expected b/src/glsl/glcpp/tests/078-elif-without-if.c.expected
index ee3450133a2..f3530ed2c07 100644
--- a/src/glsl/glcpp/tests/078-elif-without-if.c.expected
+++ b/src/glsl/glcpp/tests/078-elif-without-if.c.expected
@@ -1,3 +1,3 @@
-0:1(2): preprocessor error: elif without #if
+0:1(2): preprocessor error: #elif without #if