diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-06 16:48:26 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-06 16:48:26 -0600 |
commit | 1884c0484b71a197eb12e7e65354b30802035602 (patch) | |
tree | 43647e4a22027019e53a3f375e6c5cdbf4704015 /src/main.rs | |
parent | e18364423529e5d76c381f99c655a6b48ecca030 (diff) | |
download | makers-1884c0484b71a197eb12e7e65354b30802035602.tar.gz makers-1884c0484b71a197eb12e7e65354b30802035602.zip |
include filename in some error logs
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |