diff options
| author | Juan Linietsky | 2017-01-08 02:04:53 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-08 02:04:53 -0300 |
| commit | 8b912d11152410302f45eaa117c19b7016d781f5 (patch) | |
| tree | 58e7e9ab9ee7e22c5f7e70c4342219a5918fd55e /modules/gdscript/gd_tokenizer.cpp | |
| parent | 2ab83e1abbf5ee6d00e16056a9e9394114026f28 (diff) | |
| download | godot-8b912d11152410302f45eaa117c19b7016d781f5.tar.gz godot-8b912d11152410302f45eaa117c19b7016d781f5.tar.zst godot-8b912d11152410302f45eaa117c19b7016d781f5.zip | |
Diffstat (limited to 'modules/gdscript/gd_tokenizer.cpp')
| -rw-r--r-- | modules/gdscript/gd_tokenizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdscript/gd_tokenizer.cpp b/modules/gdscript/gd_tokenizer.cpp index 427b0cbf0..865c07f3b 100644 --- a/modules/gdscript/gd_tokenizer.cpp +++ b/modules/gdscript/gd_tokenizer.cpp @@ -460,6 +460,9 @@ void GDTokenizerText::_advance() { case ':': _make_token(TK_COLON); //for methods maybe but now useless. break; + case '$': + _make_token(TK_DOLLAR); //for the get_node() shortener + break; case '^': { if (GETCHAR(1)=='=') { _make_token(TK_OP_ASSIGN_BIT_XOR); |
