Skip to content

Commit

Permalink
tokenized elif statement.....
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonak-Adipta-Kalita committed May 4, 2023
1 parent 0abca0b commit b3a5c44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions token/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const (
VAR = "VAR"
MUTATE = "MUTATE"
IF = "IF"
ELIF = "ELIF"
ELSE = "ELSE"
RETURN = "RETURN"
TRUE = "TRUE"
Expand All @@ -62,6 +63,7 @@ var keywords = map[string]TokenType{
"var": VAR,
"mut": MUTATE,
"if": IF,
"elif": ELIF,
"else": ELSE,
"return": RETURN,
"true": TRUE,
Expand Down

0 comments on commit b3a5c44

Please sign in to comment.