aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
authorgrischka <grischka>2016-05-05 14:12:53 +0200
committergrischka <grischka>2016-05-05 14:12:53 +0200
commitfe845cf53da206bb28f6b49a0878b0118b4f242b (patch)
tree27caab94c1fdd03dd8b551d637cd74e917c0f5ae /tcc.c
parentcaebbc3ee1071ace94003cdf645f749d2b0a9eed (diff)
downloadtinycc-fe845cf53da206bb28f6b49a0878b0118b4f242b.tar.gz
tinycc-fe845cf53da206bb28f6b49a0878b0118b4f242b.tar.bz2
tccpp: cleanup options -dD -dM, remove -C
The lexer is for reading files, not for writing. Also : - macro_is_equal(): avoid crash if redefining __FILE__
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tcc.c b/tcc.c
index 4431db8..93ed4de 100644
--- a/tcc.c
+++ b/tcc.c
@@ -98,9 +98,8 @@ static void help(void)
" -Dsym[=val] define 'sym' with value 'val'\n"
" -Usym undefine 'sym'\n"
" -E preprocess only\n"
- " -P[1] no/alternative output of #line directives\n"
- " -d{D|M} dump defines\n"
- " -C keep comments\n"
+ " -P[1] no / alternative #line output with -E\n"
+ " -dD -dM output #define directives with -E\n"
"Linker options:\n"
" -Ldir add library path 'dir'\n"
" -llib link with dynamic or static library 'lib'\n"