diff options
| author | Tristan Gingold <tgingold@free.fr> | 2017-07-14 07:33:39 +0200 | 
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2017-07-14 07:33:39 +0200 | 
| commit | 443cbd051e90942674d6b9aea01ed8b7a84a3cc4 (patch) | |
| tree | ef65384d32eccfcb652b9c2770cfe4c02bc9f718 /src/vhdl | |
| parent | 5783528e1ecd9f7d072efa7a27006efff86549ed (diff) | |
| download | ghdl-443cbd051e90942674d6b9aea01ed8b7a84a3cc4.tar.gz ghdl-443cbd051e90942674d6b9aea01ed8b7a84a3cc4.tar.bz2 ghdl-443cbd051e90942674d6b9aea01ed8b7a84a3cc4.zip  | |
Set parent of implicit deallocate declaration.
Fix #384
Diffstat (limited to 'src/vhdl')
| -rw-r--r-- | src/vhdl/sem_decls.adb | 1 | 
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);  | 
