mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-20 11:46:43 +01:00
fix <| not parsing
This commit is contained in:
@@ -334,6 +334,7 @@ fn lexer() -> impl Parser<char, Vec<(Token, Span)>, Error = LexerError> {
|
||||
just("#>"),
|
||||
just("->"),
|
||||
just(":="),
|
||||
just("<|"),
|
||||
))
|
||||
.map(|s| s.to_string())
|
||||
.or(one_of("+-*/%&^|<=>").map(|s: char| s.to_string()))
|
||||
|
||||
Reference in New Issue
Block a user