mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
Don't ftepp_warn after destroying the lexer...
This commit is contained in:
parent
37eaaa76f9
commit
85e98e9f53
1 changed files with 2 additions and 2 deletions
4
ftepp.c
4
ftepp.c
|
@ -1248,12 +1248,12 @@ static ftepp_t *ftepp;
|
|||
static bool ftepp_preprocess_done()
|
||||
{
|
||||
bool retval = true;
|
||||
lex_close(ftepp->lex);
|
||||
ftepp->lex = NULL;
|
||||
if (vec_size(ftepp->conditions)) {
|
||||
if (ftepp_warn(ftepp, WARN_MULTIFILE_IF, "#if spanning multiple files, is this intended?"))
|
||||
retval = false;
|
||||
}
|
||||
lex_close(ftepp->lex);
|
||||
ftepp->lex = NULL;
|
||||
if (ftepp->itemname) {
|
||||
mem_d(ftepp->itemname);
|
||||
ftepp->itemname = NULL;
|
||||
|
|
Loading…
Reference in a new issue