diff options
| author | Alexandre Becoulet <diaxen@ganymede.localdomain> | 2010-02-01 18:08:51 +0100 |
|---|---|---|
| committer | Alexandre Becoulet <diaxen@ganymede.localdomain> | 2010-02-01 18:08:51 +0100 |
| commit | b9aeac0a64f11baa0f88dae09edef6802e84b83f (patch) | |
| tree | e570f517dfebeca6b7293344b8ddd0625b7c80f7 | |
| parent | 253bad7993825fc4f2caa3613035b3bfa36821fa (diff) | |
| download | tinycc-b9aeac0a64f11baa0f88dae09edef6802e84b83f.tar.gz tinycc-b9aeac0a64f11baa0f88dae09edef6802e84b83f.tar.bz2 | |
Fixed bug which prevent tcc preprocessor to ignore line number directives
| -rw-r--r-- | tccpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1620,7 +1620,7 @@ include_done: pragma_parse(s1); break; default: - if (tok == TOK_LINEFEED || tok == '!' || tok == TOK_CINT) { + if (tok == TOK_LINEFEED || tok == '!' || tok == TOK_PPNUM) { /* '!' is ignored to allow C scripts. numbers are ignored to emulate cpp behaviour */ } else { |
