mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-04 08:34:09 +02:00
Fix file/line reported for duplicate parameter declarations.
We need to retain the old parameter information until we have reported the error.
This commit is contained in:
@@ -97,7 +97,7 @@ class Module : public PScopeExtra, public PNamedItem {
|
||||
/* specparams are simpler than other parameters, in that they
|
||||
can have a range, but not an explicit type. The restrictions
|
||||
are enforced by the parser. */
|
||||
map<perm_string,param_expr_t>specparams;
|
||||
map<perm_string,param_expr_t*>specparams;
|
||||
|
||||
/* The module also has defparam assignments which don't create
|
||||
new parameters within the module, but may be used to set
|
||||
|
||||
Reference in New Issue
Block a user