Add Comment token

This commit is contained in:
Eryn Wells 2016-12-25 13:50:34 -07:00
parent c925939faf
commit 0d89cfefc1
3 changed files with 19 additions and 1 deletions

View file

@ -8,6 +8,7 @@ pub enum Token {
RightParen(String),
Identifier(String),
Boolean(bool),
Comment(String),
}
/// A Lex is a Token extracted from a specific position in an input. It contains useful information about the token's