diff options
| author | Mike Buland <mike@xagasoft.com> | 2026-06-08 15:07:12 -0700 |
|---|---|---|
| committer | Mike Buland <mike@xagasoft.com> | 2026-06-08 15:07:12 -0700 |
| commit | a9172970548805db45188a352b2aafbc0e7b32e3 (patch) | |
| tree | cf674f3ea9ebc023a6795f7a8e12a8157efd5c8f /src/lexer.rs | |
| parent | 3e60b2746bb95cfcd9b7fa4b7ed9e1c72259fb23 (diff) | |
| download | crimtag-a9172970548805db45188a352b2aafbc0e7b32e3.tar.gz crimtag-a9172970548805db45188a352b2aafbc0e7b32e3.tar.bz2 crimtag-a9172970548805db45188a352b2aafbc0e7b32e3.tar.xz crimtag-a9172970548805db45188a352b2aafbc0e7b32e3.zip | |
It works! Lots to do, but it works.
We have a lot of cleanup to do, remove debugging prints, and make it
easier to use other structures and complex variable references, etc.
Diffstat (limited to 'src/lexer.rs')
| -rw-r--r-- | src/lexer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lexer.rs b/src/lexer.rs index 0667d07..5ce7929 100644 --- a/src/lexer.rs +++ b/src/lexer.rs | |||
| @@ -16,7 +16,7 @@ pub enum SymbolType<'a> { | |||
| 16 | StartPoint, | 16 | StartPoint, |
| 17 | EndFlat, | 17 | EndFlat, |
| 18 | EndPoint, | 18 | EndPoint, |
| 19 | Fragment, | 19 | View, |
| 20 | Output, | 20 | Output, |
| 21 | Show, | 21 | Show, |
| 22 | Equals, | 22 | Equals, |
| @@ -228,7 +228,7 @@ impl<'a> Lexer<'a> { | |||
| 228 | None | 228 | None |
| 229 | } else { | 229 | } else { |
| 230 | Some(Symbol::new( match s { | 230 | Some(Symbol::new( match s { |
| 231 | "fragment" => SymbolType::Fragment, | 231 | "view" => SymbolType::View, |
| 232 | "show" => SymbolType::Show, | 232 | "show" => SymbolType::Show, |
| 233 | "output" => SymbolType::Output, | 233 | "output" => SymbolType::Output, |
| 234 | _ => SymbolType::Token(s) | 234 | _ => SymbolType::Token(s) |
