From 9083d5843f5a39fafacde81242b817021f9cb818 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 11 Jun 2026 15:20:49 -0700 Subject: Halfway there. About half the code is going away. I'm learning better how to take advantage of features of rust to simplify the code a lot. It's actually really cool. --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 8c91686..2b53828 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -64,9 +64,7 @@ type Properties = HashMap; enum Token { Loop(Identifier, Vec), Show(Identifier,Properties), - If(Identifier, Vec), - ElIf(Identifier, Vec), - Else(Vec), + If(Identifier, Vec, Vec), Text(String), } -- cgit v1.2.3