Fix issue #391: input stack underflow on too few macro arguments.

This commit is contained in:
John Kessenich
2016-07-19 14:32:52 -06:00
parent f8332509b9
commit 31a51becd2
6 changed files with 22 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
badMacroArgs.frag
Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
ERROR: 0:4: 'macro expansion' : Too few args in Macro m
ERROR: 0:4: '' : syntax error
ERROR: 2 compilation errors. No code generated.