Allow standalone ternary expressions
This commit is contained in:
@ -1750,6 +1750,7 @@ GDScriptParser::Node *GDScriptParser::parse_statement() {
|
||||
case Node::CALL:
|
||||
case Node::ASSIGNMENT:
|
||||
case Node::AWAIT:
|
||||
case Node::TERNARY_OPERATOR:
|
||||
// Fine.
|
||||
break;
|
||||
case Node::LAMBDA:
|
||||
|
||||
Reference in New Issue
Block a user