lex: rm unused paren tokens
This commit is contained in:
parent
5209f8d271
commit
a0ff5594fc
1 changed files with 0 additions and 3 deletions
|
@ -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),
|
||||||
'{' => {
|
'{' => {
|
||||||
|
|
Loading…
Reference in a new issue