Allow standalone ternary expressions

This commit is contained in:
jordi 2023-01-09 08:02:37 -06:00
parent bb08997b87
commit 2e488072d0
3 changed files with 6 additions and 5 deletions

View file

@ -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: