From 0106578fb608e15cc8ebac5fbab6f142569f58e5 Mon Sep 17 00:00:00 2001 From: Cary R Date: Thu, 3 Feb 2011 08:54:05 -0800 Subject: [PATCH] The select not the original parameter get the file/line info. When taking a variable part select of a parameter we need to give file and line information to the select not the parameter. --- elab_expr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elab_expr.cc b/elab_expr.cc index cc6a59693..b47b38278 100644 --- a/elab_expr.cc +++ b/elab_expr.cc @@ -2833,7 +2833,7 @@ NetExpr* PEIdent::elaborate_expr_param_(Design*des, evaluate the select at run-time. */ NetESelect*stmp = new NetESelect(tmp, mtmp, 1); - tmp->set_line(*this); + stmp->set_line(*this); tmp = stmp; }