]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.c
Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking
[xonotic/gmqcc.git] / parser.c
index e2bb6eeee6c6286ff984113ba90d1b48ffad67d0..1adab691326b9ea844e2d0cf82b65a8355ea0a08 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -1942,12 +1942,8 @@ static ast_expression* parse_expression_leave(parser_t *parser, bool stopatcomma
                 }
             }
             if (o == operator_count) {
-                /* no operator found... must be the end of the statement */
                 compile_error(parser_ctx(parser), "unknown operator: %s", parser_tokval(parser));
                 goto onerr;
-
-                /*Are there any expressions which actually end with an operator?*/
-                /*break;*/
             }
             /* found an operator */
             op = &operators[o];