Fixed a couple places that missed the error check for #else/#elif after #else.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24378 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -134,3 +134,39 @@ sum += 600000.0;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// ERROR cases...
|
||||
|
||||
#if 0
|
||||
int;
|
||||
#else
|
||||
int;
|
||||
#elif 1
|
||||
int;
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
int;
|
||||
#else
|
||||
int;
|
||||
#else
|
||||
int;
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
#if 0
|
||||
int;
|
||||
#else
|
||||
int;
|
||||
#elif 1
|
||||
int;
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
int;
|
||||
#else
|
||||
int;
|
||||
#else
|
||||
int;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user