]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
reset framevalue on includes like fteqcc graphitemaster/main xonotic-v0.8.5
authorDale Weiler <weilercdale@gmail.com>
Fri, 9 Jul 2021 18:05:01 +0000 (14:05 -0400)
committerDale Weiler <weilercdale@gmail.com>
Fri, 9 Jul 2021 18:05:01 +0000 (14:05 -0400)
lexer.cpp

index d63ff8ceceab54e2cf19ab2cae99128ce786b790..959b1dbf7ead45d92cea4cb7d1a145e35acde2ff 100644 (file)
--- 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);
     }