mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-20 11:46:43 +01:00
fix != operator failing to parse
This commit is contained in:
@@ -291,6 +291,7 @@ fn lexer() -> impl Parser<char, Vec<(Token, Span)>, Error = LexerError> {
|
|||||||
.repeated()
|
.repeated()
|
||||||
.at_least(1)
|
.at_least(1)
|
||||||
.or(just(':').chain(just('=')))
|
.or(just(':').chain(just('=')))
|
||||||
|
.or(just('!').chain(just('=')))
|
||||||
.collect::<String>()
|
.collect::<String>()
|
||||||
.map(Token::Op);
|
.map(Token::Op);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user