mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 17:33:33 +00:00
Allow standalone ternary expressions
This commit is contained in:
parent
bb08997b87
commit
2e488072d0
3 changed files with 6 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue