Make vis matcher optional and fix typo

This commit is contained in:
Edwin Cheng 2019-05-02 21:24:51 +08:00
parent b0e7022afe
commit 35c4633150
3 changed files with 28 additions and 5 deletions

View file

@ -319,7 +319,7 @@ fn convert_ident(ident: &tt::Ident) -> TtToken {
fn convert_punct(p: &tt::Punct) -> TtToken {
let kind = match p.char {
// lexer may produce combpund tokens for these ones
// lexer may produce compound tokens for these ones
'.' => DOT,
':' => COLON,
'=' => EQ,