diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-05-02 09:43:42 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-05-02 09:43:42 +0200 |
commit | db7ef6818edba6f7210e2fd6761333cd1131b25e (patch) | |
tree | c065be61fb8c35081fe4fa1bf0bee62aa2f8c65d | |
parent | 6fe280aa0955f78a832d74030b20fe6d64f5d428 (diff) | |
download | ghdl-db7ef6818edba6f7210e2fd6761333cd1131b25e.tar.gz ghdl-db7ef6818edba6f7210e2fd6761333cd1131b25e.tar.bz2 ghdl-db7ef6818edba6f7210e2fd6761333cd1131b25e.zip |
vhdl-sem_names: handle deference in create_list_of_types.
-rw-r--r-- | src/vhdl/vhdl-sem_names.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_names.adb b/src/vhdl/vhdl-sem_names.adb index 8f7cce4a5..c34e7a958 100644 --- a/src/vhdl/vhdl-sem_names.adb +++ b/src/vhdl/vhdl-sem_names.adb @@ -168,7 +168,8 @@ package body Vhdl.Sem_Names is | Iir_Kind_Function_Call | Iir_Kind_Indexed_Name | Iir_Kind_Slice_Name - | Iir_Kind_Selected_Element => + | Iir_Kind_Selected_Element + | Iir_Kind_Dereference => Add_Element (Res_List, Get_Type (Decl)); when others => Error_Kind ("create_list_of_types", Decl); |