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

3
Test/cppBad3.vert Normal file
View file

@ -0,0 +1,3 @@
#define f =y(.
#define y(m)
y(f)