mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 18:41:29 +00:00
made _ a special token in GDScript
This commit is contained in:
parent
72a0255585
commit
c24c739da5
3 changed files with 9 additions and 7 deletions
|
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue