fixed comment parsing

This commit is contained in:
bellard
2003-04-13 18:05:51 +00:00
parent 0c618f4b7f
commit cab6018913
2 changed files with 50 additions and 38 deletions

View File

@ -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;