Lex quotes -- need to write a test for this but captain says its time to put devices away...

This commit is contained in:
Eryn Wells 2016-12-28 08:40:31 -07:00
parent 89e639fbac
commit b1ef5fdf3e
3 changed files with 9 additions and 0 deletions

View file

@ -133,6 +133,9 @@ impl Lexer {
self.state = State::Hash;
self.advance();
}
else if c.is_quote() {
return self.token_result(Token::Quote);
}
else if c.is_string_quote() {
self.state = State::String;
self.advance();