diff options
| author | bellard <bellard> | 2003-04-13 18:05:51 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2003-04-13 18:05:51 +0000 |
| commit | cab6018913313278df161fce1770933902fac1ca (patch) | |
| tree | 2c7f2103a2c57010ebf9d71eb5469027f13b8818 /tccelf.c | |
| parent | 0c618f4b7f0d8ee20b30a276efc8a2c17acb469c (diff) | |
| download | tinycc-cab6018913313278df161fce1770933902fac1ca.tar.gz tinycc-cab6018913313278df161fce1770933902fac1ca.tar.bz2 | |
fixed comment parsing
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |
