- remove TOK_NOSUBST, mark the token itself instead
- get_tok_str(); mask out SYM_FIELD & update uses
- next(): optimize (~5% faster with tcc -E)
- tok_flags: remove some redundancy
- parse_define(): do not remove spaces around '##' and after '#'
and mark macros with '##' as MACRO_JOIN to avoid unnecessary
call to macro_twosharps(mstr):
- next_nomacro(): removed, next_nomacro1(): renamed to next_nomacro()
- next_argstream(): cleanup & new function peek_file()
- macro_subst_tok(): handle special macros (__DATE__ etc.)
like normal macros if they are #defined
- -DPP_DEBUG : more structured output
- pp_error(): better preprocessor expression error message
- tcctok.h: sort basic keywords (somehow)
- testspp/Makefile: generate .expect with 'make testspp.##+'
- tcc.c: tcc -E -o file : put unixy LFs also on windows
16 lines
132 B
Text
16 lines
132 B
Text
a
|
|
a b
|
|
a b c
|
|
a b c d
|
|
x a b c d y
|
|
x a b c y
|
|
x a b y
|
|
x a y
|
|
x y
|
|
x A,B,C y
|
|
x A,B y
|
|
x A y
|
|
x y
|
|
__attribute__((__noreturn__))
|
|
1 2
|
|
D_B_D_A
|