- 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
|
||
|---|---|---|
| .. | ||
| 01.c | ||
| 01.expect | ||
| 02.c | ||
| 02.expect | ||
| 03.c | ||
| 03.expect | ||
| 04.c | ||
| 04.expect | ||
| 05.c | ||
| 05.expect | ||
| 06.c | ||
| 06.expect | ||
| 07.c | ||
| 07.expect | ||
| 08.c | ||
| 08.expect | ||
| 09.c | ||
| 09.expect | ||
| 10.c | ||
| 10.expect | ||
| 11.c | ||
| 11.expect | ||
| 12.expect | ||
| 12.S | ||
| 13.expect | ||
| 13.S | ||
| 14.c | ||
| 14.expect | ||
| 15.c | ||
| 15.expect | ||
| 16.c | ||
| 16.expect | ||
| 17.c | ||
| 17.expect | ||
| 18.c | ||
| 18.expect | ||
| 19.c | ||
| 19.expect | ||
| 20.c | ||
| 20.expect | ||
| 21.c | ||
| 21.expect | ||
| 22.c | ||
| 22.expect | ||
| Makefile | ||
| pp-counter.c | ||
| pp-counter.expect | ||