aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-10-23 18:21:23 +0200
committerTristan Gingold <tgingold@free.fr>2017-10-23 18:21:23 +0200
commit6b5e9d9b1b77c982607f5c71f54cfc1c35e8e262 (patch)
tree2d0c48d60e593866fedd4ac5c0da149afd7e8f67 /src/vhdl
parent038cd1c044fd7a01ae8c6ad9eef8af2eb7e33168 (diff)
downloadghdl-6b5e9d9b1b77c982607f5c71f54cfc1c35e8e262.tar.gz
ghdl-6b5e9d9b1b77c982607f5c71f54cfc1c35e8e262.tar.bz2
ghdl-6b5e9d9b1b77c982607f5c71f54cfc1c35e8e262.zip
Set parent of interface p of deallocate.
Diffstat (limited to 'src/vhdl')
-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 a83059109..2da398ee9 100644
--- a/src/vhdl/sem_decls.adb
+++ b/src/vhdl/sem_decls.adb
@@ -1253,6 +1253,7 @@ package body Sem_Decls is
Create_Iir (Iir_Kind_Interface_Variable_Declaration);
Location_Copy (Var_Interface, Decl);
Set_Identifier (Var_Interface, Std_Names.Name_P);
+ Set_Parent (Var_Interface, Deallocate_Proc);
Set_Type (Var_Interface, Type_Definition);
Set_Mode (Var_Interface, Iir_Inout_Mode);
--Set_Purity_State (Deallocate_Proc, Impure);