mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-12 14:45:52 +00:00
first parsing of [ - pushing temp changes
This commit is contained in:
parent
bc43c6de47
commit
2cb15e8c2d
1 changed files with 4 additions and 0 deletions
4
parser.c
4
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");
|
parseerror(parser, "internal error: '(' should be classified as operator");
|
||||||
goto onerr;
|
goto onerr;
|
||||||
}
|
}
|
||||||
|
else if (parser->tok == '[') {
|
||||||
|
parseerror(parser, "internal error: '[' should be classified as operator");
|
||||||
|
goto onerr;
|
||||||
|
}
|
||||||
else if (parser->tok == ')') {
|
else if (parser->tok == ')') {
|
||||||
if (wantop) {
|
if (wantop) {
|
||||||
DEBUGSHUNTDO(printf("do[op] )\n"));
|
DEBUGSHUNTDO(printf("do[op] )\n"));
|
||||||
|
|
Loading…
Reference in a new issue