glcpp: Reject #version and #line not followed by whitespace

Fixes part of es3conform's preprocess16_frag test.
Reviewed-by: Carl Worth <cworth@cworth.org>
This commit is contained in:
Matt Turner
2012-11-20 17:23:42 -08:00
parent 91ca053714
commit aed466192a
5 changed files with 8 additions and 2 deletions
@@ -0,0 +1 @@
#version110
@@ -0,0 +1,2 @@
0:1(3): preprocessor error: Invalid tokens after #
@@ -0,0 +1 @@
#line2
@@ -0,0 +1,2 @@
0:1(3): preprocessor error: Invalid tokens after #