fix <| not parsing

This commit is contained in:
dranke committed 2022-05-08 00:06:38 +02:00
1 parent c59b35f9c6
commit c22297ea82
2 files changed
+4 -3

No files matched your search

+1
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()))