Merge pull request #839 from buckle2000/patch-1

Add using and local as moonscript keywords
This commit is contained in:
Vadim Grigoruk 2019-05-12 09:12:05 +03:00 committed by GitHub
commit c2099ee1f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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)