Changes necessary to compile with gcc on Debian/Linux testing
This commit is contained in:
parent
f03e9d4180
commit
2c52fd65d3
|
|
@ -122,7 +122,7 @@ const VType* calculate_subtype_array(const YYLTYPE&loc, const char*base_name,
|
|||
Expression*rig = tmpr->right();
|
||||
return calculate_subtype_array(loc, base_name, scope,
|
||||
lef,
|
||||
(tmpr->direction() == ExpRange::range_dir_t::DOWNTO
|
||||
(tmpr->direction() == ExpRange::DOWNTO
|
||||
? true
|
||||
: false),
|
||||
rig);
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ VTypeArray::VTypeArray(const VType*element, std::list<ExpRange*>*r, bool sv)
|
|||
ExpRange*curp = r->front();
|
||||
r->pop_front();
|
||||
ranges_[idx] = range_t(curp->msb(), curp->lsb(),
|
||||
(curp->direction() == ExpRange::range_dir_t::DOWNTO
|
||||
(curp->direction() == ExpRange::DOWNTO
|
||||
? true
|
||||
: false));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue