fix IsReserved
IsReserved should be true for e.g. "λ" but not "fun", since only the first can show up in the lexer output
This commit is contained in:
parent
6c8ebfb804
commit
d9cdf1306d
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ allReservedStrings = foldMap resString2 reserved
|
|||
||| the token stream
|
||||
public export
|
||||
IsReserved : String -> Type
|
||||
IsReserved str = So (str `elem` allReservedStrings)
|
||||
IsReserved str = So (str `elem` reservedStrings)
|
||||
|
||||
private
|
||||
name : Tokenizer ExtToken
|
||||
|
|
Loading…
Reference in a new issue