From db7ef6818edba6f7210e2fd6761333cd1131b25e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 2 May 2020 09:43:42 +0200 Subject: vhdl-sem_names: handle deference in create_list_of_types. --- src/vhdl/vhdl-sem_names.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3