aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_tokenizer.cpp
diff options
context:
space:
mode:
authorkarroffel2017-01-20 09:25:15 +0100
committerkarroffel2017-01-20 09:26:55 +0100
commitc24c739da54225dd5090e82c8d0a34f8bbe0724a (patch)
treef8c4239a855de359c29d216c56532bf0d8ca34a8 /modules/gdscript/gd_tokenizer.cpp
parent72a02555850016ab792cf498c5370983d3b72832 (diff)
downloadgodot-c24c739da54225dd5090e82c8d0a34f8bbe0724a.tar.gz
godot-c24c739da54225dd5090e82c8d0a34f8bbe0724a.tar.zst
godot-c24c739da54225dd5090e82c8d0a34f8bbe0724a.zip
Diffstat (limited to 'modules/gdscript/gd_tokenizer.cpp')
-rw-r--r--modules/gdscript/gd_tokenizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gd_tokenizer.cpp b/modules/gdscript/gd_tokenizer.cpp
index 70fc991bc..5be2a2bea 100644
--- a/modules/gdscript/gd_tokenizer.cpp
+++ b/modules/gdscript/gd_tokenizer.cpp
@@ -119,6 +119,7 @@ const char* GDTokenizer::token_names[TK_MAX]={
"':'",
"'\\n'",
"PI",
+"_",
"Error",
"EOF",
"Cursor"};
@@ -899,6 +900,7 @@ void GDTokenizerText::_advance() {
{TK_CF_PASS,"pass"},
{TK_SELF,"self"},
{TK_CONST_PI,"PI"},
+ {TK_WILDCARD,"_"},
{TK_ERROR,NULL}
};