From 4c735d0928d75e9b39fae22b869536c92bda534c Mon Sep 17 00:00:00 2001 From: Erin Date: Tue, 27 Jul 2021 11:52:43 +0200 Subject: [PATCH] Added arrow token --- src/lexer.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lexer.rs b/src/lexer.rs index 76323867..b84c86b0 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -48,6 +48,9 @@ pub enum Token { #[token("=")] Equal, + #[token("<=")] + Arrow, + // Logical operators #[token("<")] LessThan,