From: Zachary Snow Date: Sun, 7 Mar 2021 21:06:25 +0000 (-0500) Subject: Fix param without default log line X-Git-Tag: yosys-0.10~261^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdc4fd0e92913961c6e3728d8d4976022514dc23;p=yosys.git Fix param without default log line --- diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index af5e326ad..0cfde0fc3 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc @@ -1248,7 +1248,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; }