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:
John Kessenich
2013-12-05 21:51:40 +00:00
parent 521ca375e0
commit 8e789e8d62
5 changed files with 60 additions and 17 deletions

View File

@@ -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