PP: Fix #1694: Handle badly formed argument substitution.

Also added a warning for no space after a macro name.
This commit is contained in:
John Kessenich 2019-02-11 03:05:00 -07:00
parent d83344fc4e
commit 9840f11f85
7 changed files with 35 additions and 7 deletions

View file

@ -0,0 +1,18 @@
cppBad3.vert
ERROR: 0:3: 'macro expansion' : End of input in macro y
ERROR: 1 compilation errors. No code generated.
Shader version: 100
ERROR: node is still EOpNull!
0:? Linker Objects
Linked vertex stage:
ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point
Shader version: 100
ERROR: node is still EOpNull!
0:? Linker Objects