Browse Source

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 <[email protected]>
Saggi Mizrahi 8 years ago
parent
commit
c464609bda
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/gdscript/gd_tokenizer.cpp

+ 1 - 0
modules/gdscript/gd_tokenizer.cpp

@@ -117,6 +117,7 @@ const char *GDTokenizer::token_names[TK_MAX] = {
 	"'.'",
 	"'?'",
 	"':'",
+	"'$'",
 	"'\\n'",
 	"PI",
 	"_",