From: Dale Weiler Date: Fri, 9 Jul 2021 18:05:01 +0000 (-0400) Subject: reset framevalue on includes like fteqcc X-Git-Tag: xonotic-v0.8.5^0 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=297eab9e5e2c9cc4f41201b68821593a5cf9a725;p=xonotic%2Fgmqcc.git reset framevalue on includes like fteqcc --- diff --git a/lexer.cpp b/lexer.cpp index d63ff8c..959b1db 100644 --- a/lexer.cpp +++ b/lexer.cpp @@ -392,6 +392,7 @@ static bool lex_try_pragma(lex_file *lex) goto unroll; } else if (!strcmp(command, "file")) { + lex->framevalue = 0; lex->name = util_strdup(param); vec_push(lex_filenames, lex->name); }