mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Fixed bug in "read_verilog -ignore_redef"
This commit is contained in:
parent
978a933b6a
commit
c7afbd9d8e
|
@ -947,7 +947,7 @@ void AST::process(RTLIL::Design *design, AstNode *ast, bool dump_ast1, bool dump
|
||||||
if (!ignore_redef)
|
if (!ignore_redef)
|
||||||
log_error("Re-definition of module `%s' at %s:%d!\n",
|
log_error("Re-definition of module `%s' at %s:%d!\n",
|
||||||
(*it)->str.c_str(), (*it)->filename.c_str(), (*it)->linenum);
|
(*it)->str.c_str(), (*it)->filename.c_str(), (*it)->linenum);
|
||||||
log_error("Ignoring re-definition of module `%s' at %s:%d!\n",
|
log("Ignoring re-definition of module `%s' at %s:%d!\n",
|
||||||
(*it)->str.c_str(), (*it)->filename.c_str(), (*it)->linenum);
|
(*it)->str.c_str(), (*it)->filename.c_str(), (*it)->linenum);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue