summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 f297f86..1ffb51e 100644
--- a/src/vhdl/sem_names.adb
+++ b/src/vhdl/sem_names.adb
@@ -1007,7 +1007,7 @@ package body Sem_Names is
and then Staticness = None
and then (Flag_Relaxed_Rules or Vhdl_Std = Vhdl_93c)
then
- Staticness := Iir_Staticness'Max (Globally,
+ Staticness := Iir_Staticness'Min (Globally,
Get_Expr_Staticness (Prefix));
end if;
Set_Expr_Staticness (Attr, Staticness);