lexer: Consume invalid characters
This commit is contained in:
@@ -46,7 +46,7 @@ fn lex_tokens(file: &str, path: Option<&Path>) -> Result<(), Box<dyn Error>> {
|
||||
Ok(t) => t,
|
||||
Err(e) => {
|
||||
println!("{e:?}");
|
||||
break;
|
||||
continue;
|
||||
},
|
||||
};
|
||||
if let Some(path) = path {
|
||||
|
||||
Reference in New Issue
Block a user