diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-20 00:38:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 00:38:49 +0200 |
commit | 9b7c963d19cc0df53792d33b127f7a7356996030 (patch) | |
tree | eb6e15b1c69ed40cc7e6d1ea38fd7682a1abbc6b /modules/mono/csharp_script.h | |
parent | de7293b6eb6f45b44b3467fe25e2a0b6f403ebef (diff) | |
parent | d0e78c86d72de1ec5d1c49de5c5ee2fff9589efc (diff) |
Merge pull request #48804 from EricEzaM/scripting-multi-error-support
Added support for scripts reporting multiple errors to ScriptTextEditor
Diffstat (limited to 'modules/mono/csharp_script.h')
-rw-r--r-- | modules/mono/csharp_script.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h index 965e882c5b..2f1ee6b123 100644 --- a/modules/mono/csharp_script.h +++ b/modules/mono/csharp_script.h @@ -455,9 +455,8 @@ public: Ref<Script> get_template(const String &p_class_name, const String &p_base_class_name) const override; bool is_using_templates() override; void make_template(const String &p_class_name, const String &p_base_class_name, Ref<Script> &p_script) override; - /* TODO */ bool validate(const String &p_script, int &r_line_error, int &r_col_error, - String &r_test_error, const String &p_path, List<String> *r_functions, - List<ScriptLanguage::Warning> *r_warnings = nullptr, Set<int> *r_safe_lines = nullptr) const override { + /* TODO */ bool validate(const String &p_script, const String &p_path, List<String> *r_functions, + List<ScriptLanguage::ScriptError> *r_errors = nullptr, List<ScriptLanguage::Warning> *r_warnings = nullptr, Set<int> *r_safe_lines = nullptr) const override { return true; } String validate_path(const String &p_path) const override; |