From 62b62983221b33cf99bb61a0bff0704fa1b6c96c Mon Sep 17 00:00:00 2001 From: Empa Date: Sat, 6 Jan 2024 21:52:48 +0100 Subject: [PATCH] Reorder tokens a tiny bit --- crates/saft-lexer/src/token.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/saft-lexer/src/token.rs b/crates/saft-lexer/src/token.rs index a1e929a..6c4c04e 100644 --- a/crates/saft-lexer/src/token.rs +++ b/crates/saft-lexer/src/token.rs @@ -6,10 +6,6 @@ pub enum Token { Fn, Return, - And, - Or, - True, - False, If, Else, Loop, @@ -29,7 +25,11 @@ pub enum Token { Integer(i64), String(String), Nil, + True, + False, + And, + Or, ColonEqual, Equal, Plus,