Fix shadow warning when using older versions of gcc.
This commit is contained in:
parent
ad83a135e5
commit
d1487c10f1
|
|
@ -112,10 +112,10 @@ void Definitions::add_class(netclass_t*net_class)
|
|||
* in question.
|
||||
*/
|
||||
|
||||
NetScope::NetScope(NetScope*up, const hname_t&n, NetScope::TYPE t, NetScope*unit,
|
||||
NetScope::NetScope(NetScope*up, const hname_t&n, NetScope::TYPE t, NetScope*in_unit,
|
||||
bool nest, bool program, bool interface, bool compilation_unit)
|
||||
: type_(t), name_(n), nested_module_(nest), program_block_(program),
|
||||
is_interface_(interface), is_unit_(compilation_unit), unit_(unit), up_(up)
|
||||
is_interface_(interface), is_unit_(compilation_unit), unit_(in_unit), up_(up)
|
||||
{
|
||||
events_ = 0;
|
||||
lcounter_ = 0;
|
||||
|
|
|
|||
|
|
@ -931,7 +931,7 @@ class NetScope : public Definitions, public Attrib {
|
|||
and attach it to the given parent. If no compilation unit is
|
||||
specified, the parent's compilation unit is used. The name
|
||||
is expected to have been permallocated. */
|
||||
NetScope(NetScope*up, const hname_t&name, TYPE t, NetScope*unit=0,
|
||||
NetScope(NetScope*up, const hname_t&name, TYPE t, NetScope*in_unit=0,
|
||||
bool nest=false, bool program=false, bool interface=false,
|
||||
bool compilation_unit=false);
|
||||
~NetScope();
|
||||
|
|
|
|||
Loading…
Reference in New Issue