PP: Fix #783: Catch end-of-argument expansion in token pasting.

This commit is contained in:
John Kessenich
2017-04-04 12:28:20 -06:00
parent 82460b5e21
commit 97cb85c7d6
4 changed files with 15 additions and 3 deletions

View File

@@ -79,4 +79,8 @@ uniform M_OUTER(argPaste);
uniform M_OUTER2(argPaste);
#define rec(x)##
rec(rec())
rec(rec())
#define bax(bay)
#define baz bax(/##)
baz