1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #62900 from cdemirer/fix-parser-stuck-in-an-error-loop

This commit is contained in:
George Marques
2022-07-13 09:18:21 -03:00
committed by GitHub

View File

@@ -1680,6 +1680,7 @@ GDScriptParser::Node *GDScriptParser::parse_statement() {
lambda_ended = true;
has_ended_lambda = true;
} else {
advance();
push_error(vformat(R"(Expected statement, found "%s" instead.)", previous.get_name()));
}
}