diff options
| author | bellard <bellard> | 2002-11-22 23:28:06 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2002-11-22 23:28:06 +0000 |
| commit | b81d4ba6b36bc20209e6d4a078a4eb26cfcc661b (patch) | |
| tree | 5e2aa19601b8bdfd0f393b0e73370aa3365f8426 /tccelf.c | |
| parent | cdcfed9737c6cd20a36833b540c030f6601fea03 (diff) | |
| download | tinycc-b81d4ba6b36bc20209e6d4a078a4eb26cfcc661b.tar.gz tinycc-b81d4ba6b36bc20209e6d4a078a4eb26cfcc661b.tar.bz2 | |
prepared parser for direct use of file->buf_ptr - faster comment parsing
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1890,7 +1890,8 @@ static int tcc_load_ldscript(TCCState *s1) char filename[1024]; int t; - inp(); + ch = file->buf_ptr[0]; + handle_eob(); for(;;) { t = ld_next(s1, cmd, sizeof(cmd)); if (t == LD_TOK_EOF) |
