aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdl/sem_decls.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/sem_decls.adb b/src/vhdl/sem_decls.adb
index e3d0480c4..8b22bf25d 100644
--- a/src/vhdl/sem_decls.adb
+++ b/src/vhdl/sem_decls.adb
@@ -1235,6 +1235,7 @@ package body Sem_Decls is
Set_Identifier (Deallocate_Proc, Std_Names.Name_Deallocate);
Set_Implicit_Definition
(Deallocate_Proc, Iir_Predefined_Deallocate);
+ Set_Parent (Deallocate_Proc, Get_Parent (Decl));
Var_Interface :=
Create_Iir (Iir_Kind_Interface_Variable_Declaration);