summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2026-06-11 15:20:49 -0700
committerMike Buland <mike@xagasoft.com>2026-06-11 15:20:49 -0700
commit9083d5843f5a39fafacde81242b817021f9cb818 (patch)
treee65371f368f151a30e10631149fdd970de615e60 /src/lib.rs
parentc9889f7c6622def3b6badde2738c3e912b48144f (diff)
downloadcrimtag-9083d5843f5a39fafacde81242b817021f9cb818.tar.gz
crimtag-9083d5843f5a39fafacde81242b817021f9cb818.tar.bz2
crimtag-9083d5843f5a39fafacde81242b817021f9cb818.tar.xz
crimtag-9083d5843f5a39fafacde81242b817021f9cb818.zip
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.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 1 insertions, 3 deletions
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<String, String>;
64enum Token { 64enum Token {
65 Loop(Identifier, Vec<Token>), 65 Loop(Identifier, Vec<Token>),
66 Show(Identifier,Properties), 66 Show(Identifier,Properties),
67 If(Identifier, Vec<Token>), 67 If(Identifier, Vec<Token>, Vec<Token>),
68 ElIf(Identifier, Vec<Token>),
69 Else(Vec<Token>),
70 Text(String), 68 Text(String),
71} 69}
72 70