[lexer] Add Num token type, which only takes ints for now...
This commit is contained in:
parent
0f18569292
commit
ebee8c8646
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ pub struct Lex {
|
|||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub enum Token {
|
||||
Bool(bool),
|
||||
Num(i64),
|
||||
LeftParen,
|
||||
RightParen,
|
||||
Id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue