improvements

This commit is contained in:
2024-05-27 04:02:58 +03:00
parent 43b2030e2d
commit 6b612a578f
6 changed files with 146 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ pub struct Token {
pub loc: Loc,
}
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub enum TokenType {
Add,
Sub,