From f724cea337965419618d7d587015c9593a67834d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 9 Jun 2026 10:16:19 -0700 Subject: 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. --- src/lexer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lexer.rs') 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; use crate::Position; -#[derive(Debug,Copy,Clone,PartialEq)] +#[derive(Debug,Copy,Clone,PartialEq,Eq)] pub enum ErrorType { UnexpectedChar(char), } -#[derive(Debug,Copy,Clone,PartialEq)] +#[derive(Debug,Copy,Clone,PartialEq,Eq)] pub enum SymbolType<'a> { StartFlat, StartPoint, -- cgit v1.2.3