This commit is contained in:
ConnorSkees 2020-03-22 00:48:07 -04:00
parent 78d7d5ce36
commit 1127897bd8
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ pub enum Symbol {
/// \ /// \
BackSlash, BackSlash,
/// ` /// `
BackTick BackTick,
} }
impl Display for Symbol { impl Display for Symbol {

View File

@ -141,7 +141,7 @@ impl<'a> Iterator for Lexer<'a> {
c if c.is_control() => { c if c.is_control() => {
self.buf.next(); self.buf.next();
TokenKind::Error("Expected expression.".into()) TokenKind::Error("Expected expression.".into())
}, }
_ => self.lex_ident(), _ => self.lex_ident(),
}; };
self.pos.next_char(); self.pos.next_char();