aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/translate/trans-helpers2.adb5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vhdl/translate/trans-helpers2.adb b/src/vhdl/translate/trans-helpers2.adb
index 11ea54042..fa8f11038 100644
--- a/src/vhdl/translate/trans-helpers2.adb
+++ b/src/vhdl/translate/trans-helpers2.adb
@@ -239,9 +239,10 @@ package body Trans.Helpers2 is
Res := E2M (Val, Type_Info, Mode_Value);
case Type_Info.Type_Mode is
when Type_Mode_Array
- | Type_Mode_Fat_Array =>
+ | Type_Mode_Unbounded_Array =>
Res := Chap3.Get_Composite_Base (Res);
- when Type_Mode_Record =>
+ when Type_Mode_Record
+ | Type_Mode_Unbounded_Record =>
Res := Stabilize (Res);
when others =>
-- Not a composite type!