diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-06-13 12:25:01 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-06-13 16:47:59 +0200 |
commit | e0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453 (patch) | |
tree | b4477194e58e9ca5b0c296caa24da39e5a2e845a /src/vhdl/vhdl-sem_types.adb | |
parent | 8eb418a695000718920c2ef5294c185a2ef40cca (diff) | |
download | ghdl-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_types.adb')
-rw-r--r-- | src/vhdl/vhdl-sem_types.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_types.adb b/src/vhdl/vhdl-sem_types.adb index 1d8bb3a33..a0b9a1c4d 100644 --- a/src/vhdl/vhdl-sem_types.adb +++ b/src/vhdl/vhdl-sem_types.adb @@ -1364,7 +1364,7 @@ package body Vhdl.Sem_Types is end if; -- LRM93 2.4 -- A resolution function must be a [pure] function; - if Flags.Vhdl_Std >= Vhdl_93 and then Get_Pure_Flag (Func) = False then + if not Flags.Flag_Relaxed_Rules and then not Get_Pure_Flag (Func) then if Atype /= Null_Iir then Error_Msg_Sem (+Atype, "resolution %n must be pure", +Func); end if; |