This website requires JavaScript.
Explore
Help
Register
Sign In
github-repos
/
tinycc
Watch
1
Star
0
Fork
0
You've already forked tinycc
mirror of
https://github.com/mirror/tinycc.git
synced
2025-03-16 09:20:07 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1cee0908d2
tinycc
/
tests
/
pp
/
21.expect
12 lines
103 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tccpp: allow "#define X defined Y ..." That means: we do not macro-expand the argument of 'defined' Also: store the last token position into the TokenString structure in order to get rid of the tok_last function.
2017-06-05 19:21:39 +08:00
----- 1 ------
OK
----- 2 ------
OK
----- 3 ------
OK
----- 4 ------
OK
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 23:07:43 +08:00
----- 5 ------
line 39
line ##
Reference in New Issue
Copy Permalink