summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-01-18 21:37:17 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-01-18 22:01:42 +0100
commit9f479f096cb50fa8d1215e68c262f110116114ef (patch)
treef115332a8e73ab059c16b077873ca2f3faab9cb1 /modules/gdscript/gdscript_parser.cpp
parenta1c08b71091c47d626410406f36a4bb6fca40953 (diff)
downloadredot-engine-9f479f096cb50fa8d1215e68c262f110116114ef.tar.gz
Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
-rw-r--r--modules/gdscript/gdscript_parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp
index 2a6d37812e..ed21194dd3 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -458,8 +458,8 @@ GDScriptParser::Node *GDScriptParser::_parse_expression(Node *p_parent, bool p_s
if (!validating) {
//this can be too slow for just validating code
- if (for_completion && ScriptCodeCompletionCache::get_sigleton()) {
- res = ScriptCodeCompletionCache::get_sigleton()->get_cached_resource(path);
+ if (for_completion && ScriptCodeCompletionCache::get_singleton()) {
+ res = ScriptCodeCompletionCache::get_singleton()->get_cached_resource(path);
} else {
res = ResourceLoader::load(path);
}