lexer: Fix copy+paste error in greater
. Now emits Rsh
tokens~!
This commit is contained in:
parent
6b5663ae4e
commit
af89541af1
@ -169,7 +169,7 @@ impl<'t> Lexer<'t> {
|
|||||||
}
|
}
|
||||||
fn greater(&mut self) -> Option<Token<'t>> {
|
fn greater(&mut self) -> Option<Token<'t>> {
|
||||||
match self.peek() {
|
match self.peek() {
|
||||||
Some('>') => self.then().emit(TokenKind::Lsh),
|
Some('>') => self.then().emit(TokenKind::Rsh),
|
||||||
_ => todo!("greater"),
|
_ => todo!("greater"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user