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

Revert "Fix parsing inner class declaration when "pass" keyword is on the same line"

This reverts commit 5bcc3d476c.
This commit is contained in:
lawnjelly
2024-07-15 10:37:21 +01:00
parent ff77fe81d1
commit 02fa77eb30
2 changed files with 19 additions and 62 deletions

View File

@@ -599,9 +599,6 @@ private:
bool _parse_arguments(Node *p_parent, Vector<Node *> &p_args, bool p_static, bool p_can_codecomplete = false, bool p_parsing_constant = false);
bool _enter_indent_block(BlockNode *p_block = nullptr);
bool _enter_inner_class_indent_block();
bool _parse_colon();
bool _parse_indent_block_newlines(BlockNode *p_block = nullptr);
bool _parse_newline();
Node *_parse_expression(Node *p_parent, bool p_static, bool p_allow_assign = false, bool p_parsing_constant = false);
Node *_reduce_expression(Node *p_node, bool p_to_const = false);