mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
Fix compiling with version 1.32.0 of rust
This commit is contained in:
parent
85c0547658
commit
9b24aea506
@ -48,8 +48,9 @@ impl<'input> Iterator for Lexer<'input> {
|
||||
Some((j, ')'))|Some((j, '('))|Some((j, '+'))|Some((j, '-'))|Some((j, '*'))|Some((j, '/'))|Some((j,' '))
|
||||
=> return Some(Ok((i, Tok::NumSymbol(&self.input[i..*j]), *j))),
|
||||
None => return Some(Ok((i, Tok::NumSymbol(&self.input[i..]),self.input.len()))),
|
||||
_ => {self.chars.next();},
|
||||
_ => {},
|
||||
}
|
||||
self.chars.next();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user