]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.c
the comma is now in the operator list
[xonotic/gmqcc.git] / parser.c
index 56f20f271957c73d056dd173a57bfc727d4d2039..75c69111e3f19655e6825aa91d1586dbb4d8b775 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -458,12 +458,6 @@ static ast_expression* parser_expression(parser_t *parser)
                     goto onerr;
                 }
             }
-            else if (parser->tok == ',') {
-                if (!shunt_ops_add(&sy, syparen(parser_ctx(parser), ','))) {
-                    parseerror(parser, "out of memory");
-                    goto onerr;
-                }
-            }
             else if (parser->tok == ')') {
                 /* we do expect an operator next */
                 /* closing an opening paren */