From 3d2b80cf454e682ba1fcd094465b7ee1a94297dd Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 1 Sep 2022 22:34:28 +0100 Subject: Variable declaration --- src/Lexer.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Lexer.hs') diff --git a/src/Lexer.hs b/src/Lexer.hs index 1778b21..7d09752 100644 --- a/src/Lexer.hs +++ b/src/Lexer.hs @@ -9,8 +9,8 @@ import qualified Text.Parsec.Token as T scanner :: T.TokenParser () scanner = T.makeTokenParser style where - ops = ["+", "*", "-", ";"] - names = ["module", "private", "def", "return", "->", "true", "false"] + ops = ["+", "*", "-", ";", "="] + names = ["module", "private", "var", "def", "return", "->", "true", "false"] style = emptyDef { T.commentLine = "#", -- cgit v1.2.3