tccpp: fix problem in preprocess_skip with empty #
for example: #ifdef stuff # /* some comment */ #endif
This commit is contained in:
parent
c27e76aa2a
commit
5d55647a3c
1 changed files with 2 additions and 0 deletions
2
tccpp.c
2
tccpp.c
|
@ -746,6 +746,8 @@ redo_start:
|
||||||
a--;
|
a--;
|
||||||
else if( tok == TOK_ERROR || tok == TOK_WARNING)
|
else if( tok == TOK_ERROR || tok == TOK_WARNING)
|
||||||
in_warn_or_error = 1;
|
in_warn_or_error = 1;
|
||||||
|
else if (tok == TOK_LINEFEED)
|
||||||
|
goto redo_start;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
_default:
|
_default:
|
||||||
|
|
Loading…
Reference in a new issue