From: Wolfgang (Blub) Bumiller Date: Sat, 10 Nov 2012 20:55:56 +0000 (+0100) Subject: first parsing of [ - pushing temp changes X-Git-Tag: 0.1~19^2~44 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2cb15e8c2d7513350adaed7961c88b44365858f8;p=xonotic%2Fgmqcc.git first parsing of [ - pushing temp changes --- diff --git a/parser.c b/parser.c index 0616b71..3ec8804 100644 --- a/parser.c +++ b/parser.c @@ -1148,6 +1148,10 @@ static ast_expression* parse_expression_leave(parser_t *parser, bool stopatcomma parseerror(parser, "internal error: '(' should be classified as operator"); goto onerr; } + else if (parser->tok == '[') { + parseerror(parser, "internal error: '[' should be classified as operator"); + goto onerr; + } else if (parser->tok == ')') { if (wantop) { DEBUGSHUNTDO(printf("do[op] )\n"));