Add using and local as moonscript keywords

https://moonscript.org/reference/
This commit is contained in:
buckle2000
2019-05-10 19:46:15 -05:00
committed by GitHub
parent e4875a5f56
commit eae77b7f03

View File

@@ -1538,13 +1538,13 @@ static bool initMoonscript(tic_mem* tic, const char* code)
static const char* const MoonKeywords [] =
{
"false", "true", "nil", "return",
"false", "true", "nil", "local", "return",
"break", "continue", "for", "while",
"if", "else", "elseif", "unless", "switch",
"when", "and", "or", "in", "do",
"not", "super", "try", "catch",
"with", "export", "import", "then",
"from", "class", "extends", "new"
"from", "class", "extends", "new", "using",
};
static const tic_outline_item* getMoonOutline(const char* code, s32* size)