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.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb
index 47b9aa29d..472276956 100644
--- a/src/vhdl/sem_names.adb
+++ b/src/vhdl/sem_names.adb
@@ -3151,7 +3151,7 @@ package body Sem_Names is
Set_Simple_Name_Identifier (Res, Name_Table.Get_Identifier);
Attr_Type := Create_Unidim_Array_By_Length
(String_Type_Definition,
- Iir_Int64 (Name_Table.Name_Length),
+ Iir_Int64 (Name_Table.Nam_Length),
Attr);
Set_Simple_Name_Subtype (Res, Attr_Type);
Set_Expr_Staticness (Res, Locally);