You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #6845 from karroffel/master
Adds pattern matching to GDScript
This commit is contained in:
@@ -85,6 +85,7 @@ const char* GDTokenizer::token_names[TK_MAX]={
|
||||
"continue",
|
||||
"pass",
|
||||
"return",
|
||||
"match",
|
||||
"func",
|
||||
"class",
|
||||
"extends",
|
||||
@@ -894,6 +895,7 @@ void GDTokenizerText::_advance() {
|
||||
{TK_CF_BREAK,"break"},
|
||||
{TK_CF_CONTINUE,"continue"},
|
||||
{TK_CF_RETURN,"return"},
|
||||
{TK_CF_MATCH, "match"},
|
||||
{TK_CF_PASS,"pass"},
|
||||
{TK_SELF,"self"},
|
||||
{TK_CONST_PI,"PI"},
|
||||
|
||||
Reference in New Issue
Block a user