From b9aeac0a64f11baa0f88dae09edef6802e84b83f Mon Sep 17 00:00:00 2001 From: Alexandre Becoulet Date: Mon, 1 Feb 2010 18:08:51 +0100 Subject: [PATCH] Fixed bug which prevent tcc preprocessor to ignore line number directives --- tccpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tccpp.c b/tccpp.c index 09ff7cf6..fc1608ed 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 {