PP: Rationalize return values of MacroExpand.
This results in better error recovery, including fewer crashes on badly formed PP input.
This commit is contained in:
parent
9cc81de096
commit
802c62bca4
8 changed files with 78 additions and 32 deletions
4
Test/baseResults/preprocessor.bad_arg.vert.err
Normal file
4
Test/baseResults/preprocessor.bad_arg.vert.err
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ERROR: 0:8: 'macro expansion' : End of input in macro EXP2
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue