mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Make log() use the FmtString infrastructure.
Now `log()` supports `std::string`. We have to fix a few places where the format parameter was not a compile time constant. This is mostly trivial.
This commit is contained in:
committed by
Jannis Harder
parent
3f69a768f4
commit
d34ac0c87d
+1
-1
@@ -1017,7 +1017,7 @@ struct StatPass : public Pass {
|
||||
|
||||
if (json_mode) {
|
||||
log("\n");
|
||||
log(top_mod == nullptr ? " }\n" : " },\n");
|
||||
log("%s", top_mod == nullptr ? " }\n" : " },\n");
|
||||
}
|
||||
|
||||
if (top_mod != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user