tccpp: allow "#define X defined Y ..."
commit6c468c10f70d74e962591a0584765e42ce1bcaf2
authorgrischka <grischka>
Mon, 5 Jun 2017 11:21:39 +0000 (5 13:21 +0200)
committergrischka <grischka>
Sun, 9 Jul 2017 09:46:14 +0000 (9 11:46 +0200)
tree2d56ee0017b4b95afdd1bd47b8f2c8131ed06418
parent824dcebe59f52a686b003214c1af0633cf5fe89e
tccpp: allow "#define X defined Y ..."

That means: we do not macro-expand the argument of 'defined'

Also: store the last token position into the TokenString
structure in order to get rid of the tok_last function.
tcc.h
tccpp.c
tests/pp/21.c [new file with mode: 0644]
tests/pp/21.expect [new file with mode: 0644]