]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
Work in progress options cleanup.
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
index 3781496927cdbc5b31209f92389130148ca0c72e..c8001d6b303790c80fd4656911a494ae43a7a424 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -1387,7 +1387,7 @@ int lex_do(lex_file *lex)
                 if (!strcmp(v, keywords_qc[kw]))
                     return (lex->tok.ttype = TOKEN_KEYWORD);
             }
-            if (opts.standard != COMPILER_QCC) {
+            if (OPTION_VALUE_U32(OPTION_STANDARD) != COMPILER_QCC) {
                 for (kw = 0; kw < num_keywords_fg; ++kw) {
                     if (!strcmp(v, keywords_fg[kw]))
                         return (lex->tok.ttype = TOKEN_KEYWORD);