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 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b1e97d7a28a607587f4602ed3c69d8563ec5955d;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); }