diff options
| author | Mike Buland <mike@xagasoft.com> | 2026-06-09 10:16:19 -0700 |
|---|---|---|
| committer | Mike Buland <mike@xagasoft.com> | 2026-06-09 10:16:19 -0700 |
| commit | f724cea337965419618d7d587015c9593a67834d (patch) | |
| tree | 4dfde406f727f27f0ec77738506e5061ff648d07 /src/lexer.rs | |
| parent | 9c5da7c258a49d911b20629be6b4ef426d4f431e (diff) | |
| download | crimtag-f724cea337965419618d7d587015c9593a67834d.tar.gz crimtag-f724cea337965419618d7d587015c9593a67834d.tar.bz2 crimtag-f724cea337965419618d7d587015c9593a67834d.tar.xz crimtag-f724cea337965419618d7d587015c9593a67834d.zip | |
Removed root, view, and output AST tokens.
They are built as their final objects during parsing now. It's no more
complex and we have no useless tokens now.
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 c7249b7..0724df2 100644 --- a/src/lexer.rs +++ b/src/lexer.rs | |||
| @@ -5,12 +5,12 @@ use std::fmt; | |||
| 5 | 5 | ||
| 6 | use crate::Position; | 6 | use crate::Position; |
| 7 | 7 | ||
| 8 | #[derive(Debug,Copy,Clone,PartialEq)] | 8 | #[derive(Debug,Copy,Clone,PartialEq,Eq)] |
| 9 | pub enum ErrorType { | 9 | pub enum ErrorType { |
| 10 | UnexpectedChar(char), | 10 | UnexpectedChar(char), |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | #[derive(Debug,Copy,Clone,PartialEq)] | 13 | #[derive(Debug,Copy,Clone,PartialEq,Eq)] |
| 14 | pub enum SymbolType<'a> { | 14 | pub enum SymbolType<'a> { |
| 15 | StartFlat, | 15 | StartFlat, |
| 16 | StartPoint, | 16 | StartPoint, |
