Fixed bug which prevent tcc preprocessor to ignore line number directives
This commit is contained in:
parent
253bad7993
commit
b9aeac0a64
1 changed files with 1 additions and 1 deletions
2
tccpp.c
2
tccpp.c
|
@ -1620,7 +1620,7 @@ include_done:
|
||||||
pragma_parse(s1);
|
pragma_parse(s1);
|
||||||
break;
|
break;
|
||||||
default:
|
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
|
/* '!' is ignored to allow C scripts. numbers are ignored
|
||||||
to emulate cpp behaviour */
|
to emulate cpp behaviour */
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue