From cab6018913313278df161fce1770933902fac1ca Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 13 Apr 2003 18:05:51 +0000 Subject: fixed comment parsing --- tccelf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tccelf.c') diff --git a/tccelf.c b/tccelf.c index 1e4898d..891a68b 100644 --- a/tccelf.c +++ b/tccelf.c @@ -1868,7 +1868,8 @@ static int ld_next(TCCState *s1, char *name, int name_size) case '/': minp(); if (ch == '*') { - parse_comment(); + file->buf_ptr = parse_comment(file->buf_ptr); + ch = file->buf_ptr[0]; goto redo; } else { q = name; -- cgit v1.3.1