Merge pull request #54227 from akien-mga/3.x-gdscript-multiline-indexing
This commit is contained in:
commit
bd828c4d81
1 changed files with 2 additions and 0 deletions
|
@ -1223,7 +1223,9 @@ GDScriptParser::Node *GDScriptParser::_parse_expression(Node *p_parent, bool p_s
|
||||||
|
|
||||||
tokenizer->advance(1);
|
tokenizer->advance(1);
|
||||||
|
|
||||||
|
parenthesis++;
|
||||||
Node *subexpr = _parse_expression(op, p_static, p_allow_assign, p_parsing_constant);
|
Node *subexpr = _parse_expression(op, p_static, p_allow_assign, p_parsing_constant);
|
||||||
|
parenthesis--;
|
||||||
if (!subexpr) {
|
if (!subexpr) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue