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.
This commit is contained in:
Cary R 2011-02-03 08:54:05 -08:00 committed by Stephen Williams
parent 05a00ff631
commit 0106578fb6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}