Clean up warnings, update next_body, add more tests

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-05-08 16:19:01 -04:00
parent 378bcef40b
commit e233ff1cfc
4 changed files with 95 additions and 85 deletions

View File

@@ -165,6 +165,7 @@ impl<'t> Lexer<'t> {
});
};
let start = self.pos;
self.pos.adv_str(token_text);
let end = self.pos;