tcc-stupidos/tests/pp
Michael Matz 64f4b00d34 tccpp: Fix #ifdef in macro args
see testcase.  We have to "empty" the macro-stack string on
end_macro, as it may be 'tokstr_buf' which is going to be used
twice in recursive invocations of macro_subst_tok.  The uses aren't
overlapping but the first one needs to be properly finalized.
2022-08-16 15:59:41 +02:00
..
01.c
01.expect
02.c
02.expect tccpp : "tcc -E -P" : suppress empty lines 2016-10-09 20:33:14 +02:00
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 various stuff 2017-10-11 18:13:43 +02:00
13.S
14.c test/pp: cleanup 2016-10-01 21:05:42 +02:00
14.expect test/pp: cleanup 2016-10-01 21:05:42 +02:00
15.c various stuff 2017-10-11 18:13:43 +02:00
15.expect various stuff 2017-10-11 18:13:43 +02:00
16.c tccpp: Fix macro_is_equal 2016-12-15 17:47:05 +01:00
16.expect tccpp: Fix macro_is_equal 2016-12-15 17:47:05 +01:00
17.c tccpp: Fix token pasting 2016-12-15 17:49:56 +01:00
17.expect tccpp: Fix token pasting 2016-12-15 17:49:56 +01:00
18.c tccpp: Fix corner case of fnlike macro invocation 2017-04-15 19:34:55 +02:00
18.expect tccpp: Fix corner case of fnlike macro invocation 2017-04-15 19:34:55 +02:00
19.c tccpp: Fix corner case 2017-07-09 04:38:56 +02:00
19.expect tccpp: Fix corner case 2017-07-09 04:38:56 +02:00
20.c tccpp: Fix corner case 2017-07-09 04:38:56 +02:00
20.expect tccpp: Fix corner case 2017-07-09 04:38:56 +02:00
21.c tccpp: allow "#define X defined Y ..." 2017-07-09 11:46:14 +02:00
21.expect tccpp: allow "#define X defined Y ..." 2017-07-09 11:46:14 +02: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 OpenBSD: testcases 2020-12-16 17:52:59 +01:00
pp-counter.c tccpp: Implement __COUNTER__ 2017-07-09 05:30:47 +02:00
pp-counter.expect tccpp: Implement __COUNTER__ 2017-07-09 05:30:47 +02:00