Tokens - Renamed EOF to Eof
This commit is contained in:
parent
e918d90e39
commit
980729ceb3
4 changed files with 4 additions and 4 deletions
src
|
@ -209,7 +209,7 @@ impl Parser {
|
|||
/// Check whether the end of token stream has been reached by checking
|
||||
/// for the `EOF` token.
|
||||
fn is_at_end(&self) -> bool {
|
||||
self.peek().token_type == TokenType::EOF
|
||||
self.peek().token_type == TokenType::Eof
|
||||
}
|
||||
|
||||
/// Return a reference to the current token in the stream.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue