Adapted old code to fit new codebase
This commit is contained in:
@@ -299,7 +299,9 @@ impl<'t> LexStream<'t> {
|
||||
}
|
||||
}
|
||||
|
||||
assert!(tk != Tk::default());
|
||||
if tk == Tk::default() {
|
||||
return None
|
||||
}
|
||||
|
||||
self.cursor = pos;
|
||||
Some(tk)
|
||||
|
||||
Reference in New Issue
Block a user