aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_names.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-06-13 12:25:01 +0200
committerTristan Gingold <tgingold@free.fr>2020-06-13 16:47:59 +0200
commite0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453 (patch)
treeb4477194e58e9ca5b0c296caa24da39e5a2e845a /src/vhdl/vhdl-sem_names.adb
parent8eb418a695000718920c2ef5294c185a2ef40cca (diff)
downloadghdl-e0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453.tar.gz
ghdl-e0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453.tar.bz2
ghdl-e0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453.zip
vhdl: --std93c is now an alias for --std=93 -frelaxed
This simplifies the definition of --std=93c
Diffstat (limited to 'src/vhdl/vhdl-sem_names.adb')
-rw-r--r--src/vhdl/vhdl-sem_names.adb4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vhdl/vhdl-sem_names.adb b/src/vhdl/vhdl-sem_names.adb
index c34e7a958..657eea53d 100644
--- a/src/vhdl/vhdl-sem_names.adb
+++ b/src/vhdl/vhdl-sem_names.adb
@@ -4035,9 +4035,7 @@ package body Vhdl.Sem_Names is
-- and whose suffix is one of the predefined attributes 'DELAYED,
-- 'STABLE, 'QUIET or 'TRANSACTION.
-- According to LRM 6.1, attributes are not static names.
- if Flags.Vhdl_Std = Vhdl_93c or Flag_Relaxed_Rules
- or Flags.Vhdl_Std >= Vhdl_02
- then
+ if Flag_Relaxed_Rules or Flags.Vhdl_Std >= Vhdl_02 then
case Get_Kind (Res) is
when Iir_Kind_Stable_Attribute
| Iir_Kind_Quiet_Attribute