From 672d6750f6fafe1b226c6350dd568178d31452f6 Mon Sep 17 00:00:00 2001 From: Jan Mas Rovira Date: Mon, 7 Feb 2022 01:20:31 +0100 Subject: [PATCH] [parser] add & to accepted symbol characters --- src/MiniJuvix/Syntax/Concrete/Lexer.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MiniJuvix/Syntax/Concrete/Lexer.hs b/src/MiniJuvix/Syntax/Concrete/Lexer.hs index cb195a6a6..2af07268a 100644 --- a/src/MiniJuvix/Syntax/Concrete/Lexer.hs +++ b/src/MiniJuvix/Syntax/Concrete/Lexer.hs @@ -46,7 +46,7 @@ bareIdentifier = do cat == MathSymbol, cat == CurrencySymbol, cat == ModifierLetter, - c `elem` ("_'-*," :: String) + c `elem` ("_'-*,&" :: String) ] where cat = generalCategory c