aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-02-25 09:31:47 -0300
committerJuan Linietsky2014-02-25 09:31:47 -0300
commitb2ce682f6ed9493423be257a5b2e87126692a94f (patch)
tree705a351239b0f87c0e7166c5948716a054ca98d8 /modules/gdscript/gd_editor.cpp
parent06e358199f0c038e781753001d9292349f2040ad (diff)
downloadgodot-b2ce682f6ed9493423be257a5b2e87126692a94f.tar.gz
godot-b2ce682f6ed9493423be257a5b2e87126692a94f.tar.zst
godot-b2ce682f6ed9493423be257a5b2e87126692a94f.zip
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
-rw-r--r--modules/gdscript/gd_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp
index c10cadf83..f8717c292 100644
--- a/modules/gdscript/gd_editor.cpp
+++ b/modules/gdscript/gd_editor.cpp
@@ -106,7 +106,7 @@ bool GDScriptLanguage::has_named_classes() const {
int GDScriptLanguage::find_function(const String& p_function,const String& p_code) const {
- GDTokenizer tokenizer;
+ GDTokenizerText tokenizer;
tokenizer.set_code(p_code);
int indent=0;
while(tokenizer.get_token()!=GDTokenizer::TK_EOF && tokenizer.get_token()!=GDTokenizer::TK_ERROR) {