|
@@ -435,7 +435,9 @@ GDScriptParser::Node *GDScriptParser::_parse_expression(Node *p_parent, bool p_s
|
|
bool valid = false;
|
|
bool valid = false;
|
|
ConstantNode *cn;
|
|
ConstantNode *cn;
|
|
|
|
|
|
|
|
+ parenthesis++;
|
|
Node *subexpr = _parse_and_reduce_expression(p_parent, p_static);
|
|
Node *subexpr = _parse_and_reduce_expression(p_parent, p_static);
|
|
|
|
+ parenthesis--;
|
|
if (subexpr) {
|
|
if (subexpr) {
|
|
if (subexpr->type == Node::TYPE_CONSTANT) {
|
|
if (subexpr->type == Node::TYPE_CONSTANT) {
|
|
cn = static_cast<ConstantNode *>(subexpr);
|
|
cn = static_cast<ConstantNode *>(subexpr);
|