From fe845cf53da206bb28f6b49a0878b0118b4f242b Mon Sep 17 00:00:00 2001 From: grischka Date: Thu, 5 May 2016 14:12:53 +0200 Subject: 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__ --- tcc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tcc.c') 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" -- cgit v1.3.1