refactor token names
This commit is contained in:
parent
a3d9723a36
commit
8d2582756d
3 changed files with 16 additions and 16 deletions
10
src/token.rs
10
src/token.rs
|
|
@ -4,11 +4,11 @@ pub enum Token {
|
|||
Ident(String),
|
||||
|
||||
// Operators
|
||||
Add,
|
||||
Sub,
|
||||
Mul,
|
||||
Div,
|
||||
Mod,
|
||||
Plus,
|
||||
Minus,
|
||||
Asterisk,
|
||||
Slash,
|
||||
Percent,
|
||||
|
||||
// Parentheses
|
||||
LParen,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue