summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorSaggi Mizrahi <saggi@mizrahi.cc>2017-03-31 21:53:22 +0300
committerSaggi Mizrahi <saggi@mizrahi.cc>2017-04-01 03:20:23 +0300
commitc464609bda893edf7f30c1a20f7452454a7a091b (patch)
tree775e22a2e93475c4bae9bb39358f271ac578ff9d /modules/gdscript
parent6731924dcfa7451d8b31461b438fd2a5aa8af1f6 (diff)
Add '$' to token names
It was missing from this array and would cause godot to crash or report bad errors. Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gd_tokenizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gd_tokenizer.cpp b/modules/gdscript/gd_tokenizer.cpp
index 981924191f..dca34f923e 100644
--- a/modules/gdscript/gd_tokenizer.cpp
+++ b/modules/gdscript/gd_tokenizer.cpp
@@ -117,6 +117,7 @@ const char *GDTokenizer::token_names[TK_MAX] = {
"'.'",
"'?'",
"':'",
+ "'$'",
"'\\n'",
"PI",
"_",