lex: rm unused ampersand token
This commit is contained in:
parent
a0ff5594fc
commit
d530ad6da5
1 changed files with 0 additions and 2 deletions
|
@ -40,7 +40,6 @@ pub enum Delimiter {
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
pub enum Symbol {
|
pub enum Symbol {
|
||||||
Ampersand,
|
|
||||||
Asterisk,
|
Asterisk,
|
||||||
Caret,
|
Caret,
|
||||||
Equal,
|
Equal,
|
||||||
|
@ -207,7 +206,6 @@ impl<I: Iterator<Item = char> + Clone> Lexer<I> {
|
||||||
Open(Brace)
|
Open(Brace)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'&' => self.maybe_eat_close_brace(Ampersand, BraceAsterisk),
|
|
||||||
'*' => self.maybe_eat_close_brace(Asterisk, BraceAsterisk),
|
'*' => self.maybe_eat_close_brace(Asterisk, BraceAsterisk),
|
||||||
'^' => self.maybe_eat_close_brace(Caret, BraceCaret),
|
'^' => self.maybe_eat_close_brace(Caret, BraceCaret),
|
||||||
'=' => self.maybe_eat_close_brace(Equal, BraceEqual),
|
'=' => self.maybe_eat_close_brace(Equal, BraceEqual),
|
||||||
|
|
Loading…
Reference in a new issue