aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_parser.cpp
diff options
context:
space:
mode:
authorluz.paz2018-02-21 11:30:55 -0500
committerHein-Pieter van Braam2018-02-22 12:17:06 +0100
commit751806b5c7c2b63c47d228664c3425b6f3fdb5ac (patch)
tree2679c664c7a5ebbcf51c8727e0840c9b98926948 /modules/gdscript/gdscript_parser.cpp
parent40018e995cc2a4c5a14512eb7713b63a5b825978 (diff)
downloadgodot-751806b5c7c2b63c47d228664c3425b6f3fdb5ac.tar.gz
godot-751806b5c7c2b63c47d228664c3425b6f3fdb5ac.tar.zst
godot-751806b5c7c2b63c47d228664c3425b6f3fdb5ac.zip
Fix typos with codespell
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ``` (cherry picked from commit 612ab4bbc6f2396f4dcd68c3f142f7dfa2f5f0a5)
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 b6978a611..532b72ce6 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -4071,7 +4071,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
ConstantNode *cn = static_cast<ConstantNode *>(subexpr);
if (cn->value.get_type() == Variant::NIL) {
- _set_error("Can't accept a null constant expression for infering export type.");
+ _set_error("Can't accept a null constant expression for inferring export type.");
return;
}
member._export.type = cn->value.get_type();
@@ -4207,7 +4207,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
} break;
case GDScriptTokenizer::TK_PR_ENUM: {
- //mutiple constant declarations..
+ //multiple constant declarations..
int last_assign = -1; // Incremented by 1 right before the assingment.
String enum_name;