diff options
author | George Marques <george@gmarqu.es> | 2016-09-12 22:40:46 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2016-09-12 22:40:46 -0300 |
commit | 5ef64aae58ffb9b66baba00f746413fc92ac980d (patch) | |
tree | ce40f22b716cac6e43e9b134b289e12a4974506a /modules/gdscript/gd_editor.cpp | |
parent | f51b202566e9b2a9deb3eb4836f6e00fb30e8500 (diff) | |
download | redot-engine-5ef64aae58ffb9b66baba00f746413fc92ac980d.tar.gz |
Fix build for templates
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
-rw-r--r-- | modules/gdscript/gd_editor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index 48b58c16b8..c3e59836a2 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -2525,6 +2525,8 @@ void GDScriptLanguage::auto_indent_code(String& p_code,int p_from_line,int p_to_ } +#ifdef TOOLS_ENABLED + Error GDScriptLanguage::lookup_code(const String& p_code, const String& p_symbol,const String& p_base_path, Object*p_owner,LookupResult& r_result) { @@ -2959,3 +2961,5 @@ Error GDScriptLanguage::lookup_code(const String& p_code, const String& p_symbol return ERR_CANT_RESOLVE; } + +#endif |