Merge pull request #71120 from jordigcs/ternary

Closes https://github.com/godotengine/godot/issues/71065
This commit is contained in:
George Marques 2023-01-25 12:23:11 -03:00 committed by GitHub
commit e93266b9ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -1701,6 +1701,7 @@ GDScriptParser::Node *GDScriptParser::parse_statement() {
case Node::CALL:
case Node::ASSIGNMENT:
case Node::AWAIT:
case Node::TERNARY_OPERATOR:
// Fine.
break;
case Node::LAMBDA: