mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-06-10 07:29:32 +00:00
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('*');
|
uasterisk: write('*');
|
||||||
|
|
||||||
|
poundpoundop: if not token.isDigraph then
|
||||||
|
write('##')
|
||||||
|
else
|
||||||
|
write('%:%:');
|
||||||
|
|
||||||
macroParm: write('$', token.pnum:1);
|
macroParm: write('$', token.pnum:1);
|
||||||
|
|
||||||
poundpoundop,
|
|
||||||
parameteroper,
|
parameteroper,
|
||||||
castoper,
|
castoper,
|
||||||
eolsy,
|
eolsy,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user