Fix public bug 1277: #line L sets the next line to L+1 or just L, based on the version of the language.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29277 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -159,6 +159,9 @@ float c = foobar(1.1, 2.2
|
||||
#if (VAL0 && UNDEF) || UNDEF2 // UNDEF2 ERROR
|
||||
#endif
|
||||
|
||||
#line 3000
|
||||
#error line of this error should be 3000
|
||||
|
||||
#line 10000
|
||||
#if 0
|
||||
// ERROR, EOF
|
||||
Reference in New Issue
Block a user