parent
49515ff62b
commit
6d06e9351a
|
|
@ -121,7 +121,11 @@ const VType* calculate_subtype_array(const YYLTYPE&loc, const char*base_name,
|
|||
Expression*lef = tmpr->left();
|
||||
Expression*rig = tmpr->right();
|
||||
return calculate_subtype_array(loc, base_name, scope,
|
||||
lef, tmpr->direction(), rig);
|
||||
lef,
|
||||
(tmpr->direction() == ExpRange::range_dir_t::DOWNTO
|
||||
? true
|
||||
: false),
|
||||
rig);
|
||||
}
|
||||
|
||||
sorrymsg(loc, "Don't know how to handle multiple ranges here.\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue