mirror of
https://github.com/frida/tinycc
synced 2024-11-28 10:33:07 +03:00
Fixed bug which prevent tcc preprocessor to ignore line number directives
This commit is contained in:
parent
253bad7993
commit
b9aeac0a64
2
tccpp.c
2
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user