Merge pull request #619 from larsclausen/init-has-parameter-port-list
Initialize LexicalScope::has_parameter_port_list
This commit is contained in:
commit
cf5fb30c21
3
PScope.h
3
PScope.h
|
|
@ -57,7 +57,8 @@ class LexicalScope {
|
||||||
enum lifetime_t { INHERITED, STATIC, AUTOMATIC };
|
enum lifetime_t { INHERITED, STATIC, AUTOMATIC };
|
||||||
|
|
||||||
explicit LexicalScope(LexicalScope*parent)
|
explicit LexicalScope(LexicalScope*parent)
|
||||||
: default_lifetime(INHERITED), generate_counter(0), parent_(parent) { }
|
: default_lifetime(INHERITED), has_parameter_port_list(false),
|
||||||
|
generate_counter(0), parent_(parent) { }
|
||||||
// A virtual destructor is so that dynamic_cast can work.
|
// A virtual destructor is so that dynamic_cast can work.
|
||||||
virtual ~LexicalScope() { }
|
virtual ~LexicalScope() { }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue