Fixes to scanning:
- do version checking for the line-continuation character - check for built-in names in #undef - bug fix for #elif after #else - do version checking for use of floating point suffixes (f, LF, etc.) git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24011 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
20
Test/lineContinuation100.vert
Normal file
20
Test/lineContinuation100.vert
Normal file
@@ -0,0 +1,20 @@
|
||||
#version 100
|
||||
|
||||
// this file cont\
|
||||
ains no errors other than the #error which are there to see if line numbering for errors is correct
|
||||
|
||||
#error e1
|
||||
|
||||
float f\
|
||||
oo; // same as 'float foo;'
|
||||
|
||||
#error e2
|
||||
|
||||
#define MAIN void main() \
|
||||
{ \
|
||||
gl_Position = vec4(foo); \
|
||||
}
|
||||
|
||||
#error e3
|
||||
|
||||
MAIN
|
||||
Reference in New Issue
Block a user