mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-22 18:09:41 +00:00
Refactored uses of log_id()
This commit is contained in:
parent
89d83a3410
commit
e41b969da2
186 changed files with 1219 additions and 1220 deletions
|
|
@ -71,7 +71,7 @@ struct RaiseErrorPass : public Pass {
|
|||
int err_no = 1;
|
||||
string err_msg = "";
|
||||
if (err_obj != nullptr) {
|
||||
log("Raising error from '%s'.\n", log_id(err_obj));
|
||||
log("Raising error from '%s'.\n", err_obj);
|
||||
err_no = err_obj->attributes[ID::raise_error].as_int();
|
||||
if (err_no > 256) {
|
||||
err_msg = err_obj->get_string_attribute(ID::raise_error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue