mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-04 14:25:47 +00:00
gzip: refactor file open failure errors
This commit is contained in:
parent
ab614b1271
commit
adb1986dc1
5 changed files with 3 additions and 10 deletions
|
@ -472,8 +472,6 @@ void Frontend::extra_args(std::istream *&f, std::string &filename, std::vector<s
|
|||
yosys_input_files.insert(filename);
|
||||
f = uncompressed(filename, bin_input ? std::ifstream::binary : std::ifstream::in);
|
||||
}
|
||||
if (f == NULL)
|
||||
log_cmd_error("Can't open input file `%s' for reading: %s\n", filename.c_str(), strerror(errno));
|
||||
|
||||
for (size_t i = argidx+1; i < args.size(); i++)
|
||||
if (args[i].compare(0, 1, "-") == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue