mirror of https://github.com/YosysHQ/yosys.git
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)
|
||||
log_error("Re-definition of module `%s' at %s:%d!\n",
|
||||
(*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);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue