lex \ instead of \\

This commit is contained in:
crumbtoo
2023-12-29 18:43:09 -07:00
parent 1dc695f640
commit 832767575c

View File

@@ -87,8 +87,7 @@ rlp :-
"where" { constTok TokenWhere } "where" { constTok TokenWhere }
"Pack" { constTok TokenPack } -- temp "Pack" { constTok TokenPack } -- temp
-- TODO: this should be "\" "\" { constTok TokenLambda }
"\\" { constTok TokenLambda }
"λ" { constTok TokenLambda } "λ" { constTok TokenLambda }
"=" { constTok TokenEquals } "=" { constTok TokenEquals }
"->" { constTok TokenArrow } "->" { constTok TokenArrow }