diff options
| author | Bojidar Marinov | 2016-08-26 14:15:45 +0300 |
|---|---|---|
| committer | Bojidar Marinov | 2016-08-27 15:27:02 +0300 |
| commit | 4ee82a2c38c57fb980df1ed4727d47959ba9e983 (patch) | |
| tree | ef393dfafdeb9dbd34ea6299f9d19139bbef0c08 /modules/gdscript/gd_tokenizer.cpp | |
| parent | 41a58f7935ecd0c91ae55a5e5b84425aadc51840 (diff) | |
| download | godot-4ee82a2c38c57fb980df1ed4727d47959ba9e983.tar.gz godot-4ee82a2c38c57fb980df1ed4727d47959ba9e983.tar.zst godot-4ee82a2c38c57fb980df1ed4727d47959ba9e983.zip | |
Diffstat (limited to 'modules/gdscript/gd_tokenizer.cpp')
| -rw-r--r-- | modules/gdscript/gd_tokenizer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gd_tokenizer.cpp b/modules/gdscript/gd_tokenizer.cpp index 47e740b22..072a7e26a 100644 --- a/modules/gdscript/gd_tokenizer.cpp +++ b/modules/gdscript/gd_tokenizer.cpp @@ -95,6 +95,7 @@ const char* GDTokenizer::token_names[TK_MAX]={ "setget", "const", "var", +"enum", "preload", "assert", "yield", @@ -874,6 +875,7 @@ void GDTokenizerText::_advance() { {TK_PR_SLAVE,"slave"}, {TK_PR_SYNC,"sync"}, {TK_PR_CONST,"const"}, + {TK_PR_ENUM,"enum"}, //controlflow {TK_CF_IF,"if"}, {TK_CF_ELIF,"elif"}, |
