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:
parent
521ca375e0
commit
8e789e8d62
5 changed files with 60 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue