tccpp: Fix corner case of fnlike macro invocation
commit328b826e8a43ed39f9eebb8493cc6abea2ddac1c
authorMichael Matz <matz@suse.de>
Sat, 15 Apr 2017 17:24:13 +0000 (15 19:24 +0200)
committerMichael Matz <matz@suse.de>
Sat, 15 Apr 2017 17:34:55 +0000 (15 19:34 +0200)
tree11130f2851dbd99522cca765b91d5f012a431cdb
parent536ed76d5a69d8e3c0e247d6557f5942818cb253
tccpp: Fix corner case of fnlike macro invocation

Arg substitution leaves placeholder marker in the stream for
empty arguments.  Those need to be skipped when searching for
a fnlike macro invocation in the replacement list itself.  See
testcase.
tccpp.c
tests/pp/18.c [new file with mode: 0644]
tests/pp/18.expect [new file with mode: 0644]