summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/091-hash-line.c.expected
diff options
context:
space:
mode:
authorFabian Bieler <[email protected]>2012-07-24 15:36:46 +0200
committerMatt Turner <[email protected]>2012-11-09 14:33:08 -0800
commit9ad71c44fa316314551b8540241e81b296d35f44 (patch)
tree89df6f71951d05c7e79b560de851d81644406e13 /src/glsl/glcpp/tests/091-hash-line.c.expected
parent060e69679925f171cfcc2a5f84fab1d833a7e804 (diff)
glcpp: don't push #line directives into next line
By moving the HASH_LINE rule out of control_line: and into line:, we avoid adding control_line's additional \n (as seen in the first hunk). mattst88: Carl and I determined independently of Fabian that the 091 test needed to be modified identically to this, and our patch to fix the test was more complicated. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51506 Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Carl Worth <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests/091-hash-line.c.expected')
-rw-r--r--src/glsl/glcpp/tests/091-hash-line.c.expected2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glcpp/tests/091-hash-line.c.expected b/src/glsl/glcpp/tests/091-hash-line.c.expected
index 976d178dfb2..48af0b296e4 100644
--- a/src/glsl/glcpp/tests/091-hash-line.c.expected
+++ b/src/glsl/glcpp/tests/091-hash-line.c.expected
@@ -2,7 +2,6 @@
0:25(1): preprocessor error: #error line 25 error
1:0(1): preprocessor error: #error source 1, line 0 error
2:30(1): preprocessor error: #error source 2, line 30 error
-
#line 0
#line 25
@@ -17,3 +16,4 @@
#line 90 2
#line 180 2
+