Move lexer to use regex instead of hand-rolled lexing
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -48,6 +48,7 @@ impl Display for TokenKind {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct Token {
|
||||
kind: TokenKind,
|
||||
span: Span,
|
||||
|
||||
Reference in New Issue
Block a user