From 0961c8e41243d007ef34309715b8e02b8a94c6fd Mon Sep 17 00:00:00 2001 From: tiatomee Date: Wed, 10 Mar 2021 01:23:30 +0100 Subject: [PATCH] allow /= as not-equal infix operator --- cytosol-parser/src/lexer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cytosol-parser/src/lexer.rs b/cytosol-parser/src/lexer.rs index 4c99794..0a239a7 100644 --- a/cytosol-parser/src/lexer.rs +++ b/cytosol-parser/src/lexer.rs @@ -83,6 +83,7 @@ pub enum TokenKind<'src> { #[token("=")] OpEquals, + #[token("/=")] #[token("!=")] #[token("≠")] OpNotEquals,