Added local keyword

This commit is contained in:
arookas 2016-02-01 01:28:00 -05:00
parent 6f6306c064
commit 5483073347
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,7 @@ namespace arookas {
class sunParser {
static string[] keywords = {
"import",
"builtin", "function", "var", "const",
"builtin", "function", "var", "const", "local",
"if", "while", "do", "for",
"return", "break", "continue",
"yield", "exit", "lock", "unlock", "int", "float", "typeof",

View file

@ -18,6 +18,7 @@ BUILTIN = "builtin"
FUNCTION = "function"
VAR = "var"
CONST = "const"
LOCAL = "local"
IF = "if"
ELSE = "else"