fix <| not parsing

This commit is contained in:
2022-05-08 00:06:38 +02:00
parent c59b35f9c6
commit c22297ea82
2 changed files with 4 additions and 3 deletions

View File

@@ -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()))