aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--frontends/ast/ast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc
index 3b6319071..b601d2e25 100644
--- a/frontends/ast/ast.cc
+++ b/frontends/ast/ast.cc
@@ -1250,7 +1250,7 @@ void AST::process(RTLIL::Design *design, AstNode *ast, bool dump_ast1, bool dump
for (const AstNode *node : (*it)->children)
if (node->type == AST_PARAMETER && param_has_no_default(node))
{
- log("Deferring `%s' because it contains parameter(s) without defaults.\n", ast->str.c_str());
+ log("Deferring `%s' because it contains parameter(s) without defaults.\n", (*it)->str.c_str());
defer_local = true;
break;
}