aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/translate/trans-chap2.adb9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vhdl/translate/trans-chap2.adb b/src/vhdl/translate/trans-chap2.adb
index 6d3ce89cb..222c9d852 100644
--- a/src/vhdl/translate/trans-chap2.adb
+++ b/src/vhdl/translate/trans-chap2.adb
@@ -1316,7 +1316,14 @@ package body Trans.Chap2 is
Mark => False,
Field_Node => Src.Field_Node,
Field_Bound => Src.Field_Bound);
-
+ when Kind_Component =>
+ Dest.all :=
+ (Kind => Kind_Component,
+ Mark => False,
+ Comp_Scope => Instantiate_Var_Scope (Src.Comp_Scope),
+ Comp_Ptr_Type => Src.Comp_Ptr_Type,
+ Comp_Link => Src.Comp_Link,
+ Comp_Rti_Const => Src.Comp_Rti_Const);
when Kind_Package =>
Dest.all :=
(Kind => Kind_Package,