[lexer] Add Num token type, which only takes ints for now...

This commit is contained in:
Eryn Wells 2018-09-02 17:24:07 -07:00
parent 0f18569292
commit ebee8c8646

View file

@ -13,6 +13,7 @@ pub struct Lex {
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Token {
Bool(bool),
Num(i64),
LeftParen,
RightParen,
Id