mirror of
https://github.com/anoma/juvix.git
synced 2024-12-11 08:25:46 +03:00
Remove lambda from reservedSymbols (#1568)
This commit is contained in:
parent
803d2008d9
commit
a39ebf92f6
@ -471,10 +471,10 @@ atom ::
|
||||
HashMap Text Index ->
|
||||
ParsecS r Node
|
||||
atom varsNum vars =
|
||||
exprNamed varsNum vars
|
||||
exprLambda varsNum vars
|
||||
<|> exprNamed varsNum vars
|
||||
<|> exprConstInt
|
||||
<|> exprConstString
|
||||
<|> exprLambda varsNum vars
|
||||
<|> exprLetrecMany varsNum vars
|
||||
<|> exprLetrecOne varsNum vars
|
||||
<|> exprLet varsNum vars
|
||||
|
@ -102,7 +102,7 @@ delimiterSymbols :: [Char]
|
||||
delimiterSymbols = ","
|
||||
|
||||
reservedSymbols :: [Char]
|
||||
reservedSymbols = "@\";(){}[].λ\\"
|
||||
reservedSymbols = "@\";(){}[]."
|
||||
|
||||
validFirstChar :: Char -> Bool
|
||||
validFirstChar c = not (isNumber c || isSpace c || (c `elem` reservedSymbols))
|
||||
|
Loading…
Reference in New Issue
Block a user