tcc-stupidos/tests/pp
grischka 7b9f19eaab tccpp: macro cleanup
- 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
2024-02-09 18:38:14 +01:00
..
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 tccpp: macro cleanup 2024-02-09 18:38:14 +01:00
11.expect tccpp: macro cleanup 2024-02-09 18:38:14 +01:00
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 review recent commits 2024-02-04 18:18:40 +01:00
18.expect review recent commits 2024-02-04 18:18:40 +01:00
19.c
19.expect
20.c
20.expect
21.c tccpp: macro cleanup 2024-02-09 18:38:14 +01:00
21.expect tccpp: macro cleanup 2024-02-09 18:38:14 +01:00
22.c tccpp: Fix #ifdef in macro args 2022-08-16 15:59:41 +02:00
22.expect tccpp: Fix #ifdef in macro args 2022-08-16 15:59:41 +02:00
Makefile tccpp: macro cleanup 2024-02-09 18:38:14 +01:00
pp-counter.c
pp-counter.expect