X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=lexer.c;h=e68af816853ad5dc0637e681f5e685831f337d43;hb=2994d308a04bfcca8d94cada14c20cc00403d960;hp=9f1fc4e37640c96ef868de8a01c1807fc1ce5f18;hpb=fe05d5afd9893d176d3283306404a9767323d1b5;p=xonotic%2Fgmqcc.git diff --git a/lexer.c b/lexer.c index 9f1fc4e..e68af81 100644 --- a/lexer.c +++ b/lexer.c @@ -867,6 +867,8 @@ int lex_do(lex_file *lex) case '{': case '}': case '[': + if (!lex->flags.noops) + return (lex->tok.ttype = TOKEN_OPERATOR); case ']': case '#':