Allow standalone ternary expressions

This commit is contained in:
jordi committed 2023-01-19 14:27:57 -06:00
1 parent bb08997b87
commit 2e488072d0
3 files changed
+6 -5

No files matched your search

+1
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: