diff --git a/src/lex.rs b/src/lex.rs index ccfdfa0..b454c33 100644 --- a/src/lex.rs +++ b/src/lex.rs @@ -43,7 +43,6 @@ pub enum Symbol { Asterisk, Caret, ExclaimBracket, - Gt, Lt, Percentage, Pipe, @@ -229,7 +228,6 @@ impl + Clone> Lexer { } '%' => Sym(Percentage), '<' => Sym(Lt), - '>' => Sym(Gt), '|' => Sym(Pipe), '\'' => Sym(Quote1), '"' => Sym(Quote2), @@ -359,12 +357,11 @@ mod test { #[test] fn sym() { test_lex!( - r#"'*^![><%|+"~_"#, + r#"'*^![<%|+"~_"#, Sym(Quote1).l(1), Sym(Asterisk).l(1), Sym(Caret).l(1), Sym(ExclaimBracket).l(2), - Sym(Gt).l(1), Sym(Lt).l(1), Sym(Percentage).l(1), Sym(Pipe).l(1),