Fix a parser bug to parse '1' as IntLit
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
3232d80376
commit
22f3937523
|
@ -47,7 +47,7 @@ strLit =
|
|||
|
||||
name : Parser String
|
||||
name = Parser.variable
|
||||
{ start = \c -> Char.isAlphaNum c || c == '_'
|
||||
{ start = \c -> Char.isAlpha c || c == '_'
|
||||
, inner = \c -> Char.isAlphaNum c || c == '_'
|
||||
, reserved = Set.empty
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user