Skip to content

Commit

Permalink
show file name in parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
Master-Bw3 committed May 21, 2024
1 parent 555a978 commit 76fc776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub fn run() {
let (ast, macros) = match parse_result {
Ok(result) => result,
Err(err) => {
eprintln!("{}\n{}", "Parsing Error:".red().bold(), err);
eprintln!("{}\n{}\n{}", "Parsing Error:".red().bold(), args.source_path, err);
return;
}
};
Expand Down

0 comments on commit 76fc776

Please sign in to comment.