lex: rm unused paren tokens

This commit is contained in:
Noah Hellman 2023-01-27 17:04:15 +01:00
parent 5209f8d271
commit a0ff5594fc

View file

@ -36,7 +36,6 @@ pub enum Delimiter {
BraceTilde, BraceTilde,
BraceUnderscore, BraceUnderscore,
Bracket, Bracket,
Paren,
} }
#[derive(Debug, Clone, Copy, PartialEq, Eq)] #[derive(Debug, Clone, Copy, PartialEq, Eq)]
@ -188,8 +187,6 @@ impl<I: Iterator<Item = char> + Clone> Lexer<I> {
Whitespace Whitespace
} }
'(' => Open(Paren),
')' => Close(Paren),
'[' => Open(Bracket), '[' => Open(Bracket),
']' => Close(Bracket), ']' => Close(Bracket),
'{' => { '{' => {