Cleanup: Break Loc out into a common module, rename WhileParsing => Parsing

This commit is contained in:
2024-01-23 01:51:00 -06:00
parent c4a32895df
commit b8d70d3393
8 changed files with 182 additions and 180 deletions

View File

@@ -47,7 +47,7 @@ fn lex_tokens(file: &str, path: Option<&Path>) -> Result<(), Box<dyn Error>> {
Err(e) => {
println!("{e:?}");
continue;
},
}
};
if let Some(path) = path {
print!("{path:?}:")