Typo (TokenType.Function -> TokenType.Fun)

This commit is contained in:
nocturn9x 2021-09-05 19:26:27 +02:00
parent 546de1dcb6
commit 1042093eeb
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ const double = to_table({"**": TokenType.DoubleAsterisk,
# Constant table storing all the reserved keywords (parsed as identifiers)
const reserved = to_table({
"fun": TokenType.Function, "raise": TokenType.Raise,
"fun": TokenType.Fun, "raise": TokenType.Raise,
"if": TokenType.If, "else": TokenType.Else,
"for": TokenType.For, "while": TokenType.While,
"var": TokenType.Var, "nil": TokenType.NIL,