aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_names.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-sem_names.adb')
-rw-r--r--src/vhdl/vhdl-sem_names.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_names.adb b/src/vhdl/vhdl-sem_names.adb
index e556498c8..438945faa 100644
--- a/src/vhdl/vhdl-sem_names.adb
+++ b/src/vhdl/vhdl-sem_names.adb
@@ -1214,6 +1214,7 @@ package body Vhdl.Sem_Names is
Set_Expr_Staticness (Attr, None);
return;
end if;
+ Check_Read (Parameter);
Set_Parameter (Attr, Parameter);
Set_Expr_Staticness (Attr, Min (Get_Type_Staticness (Prefix_Type),
Get_Expr_Staticness (Parameter)));