diff --git a/core/object/script_language.h b/core/object/script_language.h index a22e91870eb..5d1f6a0deb1 100644 --- a/core/object/script_language.h +++ b/core/object/script_language.h @@ -268,6 +268,12 @@ public: String message; }; + struct ScriptError { + int line = -1; + int column = -1; + String message; + }; + void get_core_type_words(List *p_core_type_words) const; virtual void get_reserved_words(List *p_words) const = 0; virtual bool is_control_flow_keyword(String p_string) const = 0; @@ -276,7 +282,7 @@ public: virtual Ref