first parsing of [ - pushing temp changes

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-10 21:55:56 +01:00
parent bc43c6de47
commit 2cb15e8c2d

View file

@ -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"));