Print any ## tokens in #pragma expand output.
Note that ## will not currently be recognized as a token in some contexts, leading to it not being printed.
This commit is contained in:
parent
bf7a6fa5db
commit
8f27b8abdb
|
@ -1017,9 +1017,13 @@ case token.kind of
|
|||
|
||||
uasterisk: write('*');
|
||||
|
||||
poundpoundop: if not token.isDigraph then
|
||||
write('##')
|
||||
else
|
||||
write('%:%:');
|
||||
|
||||
macroParm: write('$', token.pnum:1);
|
||||
|
||||
poundpoundop,
|
||||
parameteroper,
|
||||
castoper,
|
||||
eolsy,
|
||||
|
|
Loading…
Reference in New Issue