aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_names.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/sem_names.adb')
-rw-r--r--src/vhdl/sem_names.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb
index 07262a64f..fa8987d1a 100644
--- a/src/vhdl/sem_names.adb
+++ b/src/vhdl/sem_names.adb
@@ -162,6 +162,7 @@ package body Sem_Names is
when Iir_Kind_Enumeration_Literal
| Iir_Kind_Function_Call
| Iir_Kind_Indexed_Name
+ | Iir_Kind_Slice_Name
| Iir_Kind_Selected_Element =>
Add_Element (Res_List, Get_Type (Decl));
when others =>