X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=lexer.c;h=f345e47be5b8dfc7589a84abe03e38ef967a91ce;hb=8c6f4c3fc3145e3e4de798dd6826c1414d899f4f;hp=3781496927cdbc5b31209f92389130148ca0c72e;hpb=b31e9b63ebdf9f3c03d7cdae34b49880d95332fb;p=xonotic%2Fgmqcc.git diff --git a/lexer.c b/lexer.c index 3781496..f345e47 100644 --- 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 (OPTS_OPTION_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);