mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
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