From ab1515cdb03af3c710b1021fb904acdd2e66f4f7 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,