diff options
| author | Rémi Verschelde | 2016-09-13 07:41:31 +0200 |
|---|---|---|
| committer | GitHub | 2016-09-13 07:41:31 +0200 |
| commit | af355364b2973405aae3b7dd3748ebdfa123fdce (patch) | |
| tree | 03810f22b90e99a0b80cab44ea325217a0188691 /modules/gdscript/gd_editor.cpp | |
| parent | 291e9858828cc7007700ac8b65179a32f9a80fe5 (diff) | |
| parent | 5ef64aae58ffb9b66baba00f746413fc92ac980d (diff) | |
| download | godot-af355364b2973405aae3b7dd3748ebdfa123fdce.tar.gz godot-af355364b2973405aae3b7dd3748ebdfa123fdce.tar.zst godot-af355364b2973405aae3b7dd3748ebdfa123fdce.zip | |
Merge pull request #6472 from vnen/fix-gds-nontools
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 48b58c16b..c3e59836a 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 |
