aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_stmts.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-sem_stmts.adb')
-rw-r--r--src/vhdl/vhdl-sem_stmts.adb6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vhdl/vhdl-sem_stmts.adb b/src/vhdl/vhdl-sem_stmts.adb
index 829bf2d20..fbee2e756 100644
--- a/src/vhdl/vhdl-sem_stmts.adb
+++ b/src/vhdl/vhdl-sem_stmts.adb
@@ -1031,10 +1031,8 @@ package body Vhdl.Sem_Stmts is
end if;
-- GHDL: I don't understand why the indexing expressions
-- must be locally static. So I don't check this in 93c.
- if Flags.Vhdl_Std /= Vhdl_93c
- and then
- (Get_Expr_Staticness
- (Get_Nth_Element (Get_Index_List (Expr), 0)) /= Locally)
+ if (Get_Expr_Staticness
+ (Get_Nth_Element (Get_Index_List (Expr), 0)) /= Locally)
then
Error_Msg_Sem
(+Expr, "indexing expression must be locally static");