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__ --- tccelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tccelf.c') diff --git a/tccelf.c b/tccelf.c index a09e36a..196dd65 100644 --- a/tccelf.c +++ b/tccelf.c @@ -3282,7 +3282,7 @@ static int ld_next(TCCState *s1, char *name, int name_size) case '/': minp(); if (ch == '*') { - file->buf_ptr = parse_comment(file->buf_ptr,0); + file->buf_ptr = parse_comment(file->buf_ptr); ch = file->buf_ptr[0]; goto redo; } else { -- cgit v1.3.1