aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/macros.cc
diff options
context:
space:
mode:
Diffstat (limited to 'fpga_interchange/macros.cc')
-rw-r--r--fpga_interchange/macros.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/macros.cc b/fpga_interchange/macros.cc
index 8f7f8231..cc67833a 100644
--- a/fpga_interchange/macros.cc
+++ b/fpga_interchange/macros.cc
@@ -45,7 +45,7 @@ static const MacroExpansionPOD *lookup_macro_rules(const ChipInfoPOD *chip, IdSt
static IdString derived_name(Context *ctx, IdString base_name, IdString suffix)
{
- return ctx->id(stringf("%s/%s", base_name.c_str(ctx), suffix.c_str(ctx)));
+ return ctx->idf("%s/%s", base_name.c_str(ctx), suffix.c_str(ctx));
}
void Arch::expand_macros()