Protect more against error recovery of bad built-in variable redeclarations.
This commit is contained in:
John Kessenich
2016-07-19 15:13:47 -06:00
parent 31a51becd2
commit f2cfe27021
3 changed files with 14 additions and 10 deletions

View File

@@ -192,6 +192,8 @@ void foo213()
gl_ClipDistance[1] = 0.3; // ERROR
}
int gl_ModelViewMatrix[] = 0;
// token pasting (ERRORS...)
#define mac abc##def