You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Allow classes declaration to be done in single line
Incidentally, allow multiple statements in single line functions when using semicolon as a terminator.
This commit is contained in:
@@ -1324,7 +1324,7 @@ private:
|
||||
ClassNode *parse_class();
|
||||
void parse_class_name();
|
||||
void parse_extends();
|
||||
void parse_class_body();
|
||||
void parse_class_body(bool p_is_multiline);
|
||||
template <class T>
|
||||
void parse_class_member(T *(GDScriptParser::*p_parse_function)(), AnnotationInfo::TargetKind p_target, const String &p_member_kind);
|
||||
SignalNode *parse_signal();
|
||||
|
||||
Reference in New Issue
Block a user