aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Becoulet <diaxen@ganymede.localdomain>2010-02-01 18:08:51 +0100
committerAlexandre Becoulet <diaxen@ganymede.localdomain>2010-02-01 18:08:51 +0100
commitb9aeac0a64f11baa0f88dae09edef6802e84b83f (patch)
treee570f517dfebeca6b7293344b8ddd0625b7c80f7
parent253bad7993825fc4f2caa3613035b3bfa36821fa (diff)
downloadtinycc-b9aeac0a64f11baa0f88dae09edef6802e84b83f.tar.gz
tinycc-b9aeac0a64f11baa0f88dae09edef6802e84b83f.tar.bz2
Fixed bug which prevent tcc preprocessor to ignore line number directives
-rw-r--r--tccpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccpp.c b/tccpp.c
index 09ff7cf..fc1608e 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -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 {