aboutsummaryrefslogtreecommitdiff
path: root/tccelf.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 /tccelf.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 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 1 insertions, 1 deletions
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 {