Added local keyword
This commit is contained in:
parent
6f6306c064
commit
5483073347
2 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -18,6 +18,7 @@ BUILTIN = "builtin"
|
|||
FUNCTION = "function"
|
||||
VAR = "var"
|
||||
CONST = "const"
|
||||
LOCAL = "local"
|
||||
|
||||
IF = "if"
|
||||
ELSE = "else"
|
||||
|
|
Loading…
Reference in a new issue