PP: Fix #1694: Handle badly formed argument substitution.
authorJohn Kessenich <cepheus@frii.com>
Mon, 11 Feb 2019 10:05:00 +0000 (03:05 -0700)
committerJohn Kessenich <cepheus@frii.com>
Mon, 11 Feb 2019 10:05:00 +0000 (03:05 -0700)
commit9840f11f8569b5fffa01663b643b1d0cb93bda4b
tree78619bda64c3599facfc4e2223ee72512b472bdf
parentd83344fc4eb144267359237b5f18d43bda0ce9f4
PP: Fix #1694: Handle badly formed argument substitution.

Also added a warning for no space after a macro name.
Test/baseResults/cppBad.vert.out
Test/baseResults/cppBad3.vert.out [new file with mode: 0755]
Test/cppBad.vert
Test/cppBad3.vert [new file with mode: 0644]
glslang/MachineIndependent/preprocessor/Pp.cpp
glslang/MachineIndependent/preprocessor/PpScanner.cpp
gtests/AST.FromFile.cpp