Scanner - Add the EOF token
This commit is contained in:
parent
ed03d565ea
commit
aab0e0a591
2 changed files with 6 additions and 1 deletions
src
|
@ -43,7 +43,7 @@ pub enum TokenType {
|
|||
Var,
|
||||
While,
|
||||
|
||||
_EOF,
|
||||
EOF,
|
||||
}
|
||||
|
||||
/// Full information about a token.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue