mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-07 04:40:08 +08:00
30df3189b1
* fix some macro expansion issues * add some pp tests in tests/pp * improved tcc -E output for better diff'ability * remove -dD feature (quirky code, exotic feature, didn't work well) Based partially on ideas / researches from PipCet Some issues remain with VA_ARGS macros (if used in a rather tricky way). Also, to keep it simple, the pp doesn't automtically add any extra spaces to separate tokens which otherwise would form wrong tokens if re-read from tcc -E output (such as '+' '=') GCC does that, other compilers don't. * cleanups - #line 01 "file" / # 01 "file" processing - #pragma comment(lib,"foo") - tcc -E: forward some pragmas to output (pack, comment(lib)) - fix macro parameter list parsing mess from |
||
---|---|---|
.. | ||
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 | ||
Makefile |