summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-15 19:47:39 +0100
committerGitHub <noreply@github.com>2018-03-15 19:47:39 +0100
commit99c1323a088333a5fc9109128d6d318bbceebf7d (patch)
tree2150802e63b4f58664ae21615dfa567c41b8f9b9 /core
parenta8147d0f8bc1960f6b3d14bf8f049a47e75847b1 (diff)
parent700d07cf7cae4e28de107e0c274b27c857d98450 (diff)
Merge pull request #17388 from Hinsbart/mono_class_name
Mono: Avoid invalid class names.
Diffstat (limited to 'core')
-rw-r--r--core/script_language.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h
index d1da0a3b72..6d32fc054c 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -203,6 +203,7 @@ public:
virtual void make_template(const String &p_class_name, const String &p_base_class_name, Ref<Script> &p_script) {}
virtual bool is_using_templates() { return false; }
virtual 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 = NULL) const = 0;
+ virtual String validate_path(const String &p_path) const { return ""; }
virtual Script *create_script() const = 0;
virtual bool has_named_classes() const = 0;
virtual bool supports_builtin_mode() const = 0;