[lexer] WIP number::Digit state
This commit is contained in:
parent
176686b3a7
commit
d272b211ae
3 changed files with 66 additions and 17 deletions
|
@ -50,7 +50,7 @@ impl State for Prefix {
|
|||
}
|
||||
|
||||
fn none(&mut self) -> Result<Option<Token>, Error> {
|
||||
Err(Error::new("blah".to_string()))
|
||||
Err(Error::unexpected_eof())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue