From e0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 13 Jun 2020 12:25:01 +0200 Subject: vhdl: --std93c is now an alias for --std=93 -frelaxed This simplifies the definition of --std=93c --- src/vhdl/vhdl-sem_stmts.adb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/vhdl/vhdl-sem_stmts.adb') 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"); -- cgit v1.2.3