From 1884c0484b71a197eb12e7e65354b30802035602 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Tue, 6 Apr 2021 16:48:26 -0600 Subject: include filename in some error logs --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 4b86307..f0e0c1d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,7 +61,7 @@ fn main() -> Result<()> { for filename in &args.makefile { if filename == &PathBuf::from("-") { let macros = makefile.macros.with_overlay(); - let file = MakefileReader::read(&args, macros, stdin().lock())?.finish(); + let file = MakefileReader::read(&args, macros, stdin().lock(), "-")?.finish(); makefile.extend(file)?; } else { let macros = makefile.macros.with_overlay(); -- cgit v1.2.3