Fixed bug which prevent tcc preprocessor to ignore line number directives

This commit is contained in:
Alexandre Becoulet 2010-02-01 18:08:51 +01:00
parent 253bad7993
commit b9aeac0a64

View File

@ -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 {