diff options
author | Xiretza <xiretza@xiretza.xyz> | 2022-02-03 17:27:26 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2022-02-28 20:35:32 +0100 |
commit | 6b6397b75abb7068d4ac484119ecf7ff56868192 (patch) | |
tree | f603c64000341b4635948d46fe95b1b9ba0279d6 /src/vhdl | |
parent | 20ed64ddc06cbb789d5b6991f0f4c5accaeaf2bf (diff) | |
download | ghdl-6b6397b75abb7068d4ac484119ecf7ff56868192.tar.gz ghdl-6b6397b75abb7068d4ac484119ecf7ff56868192.tar.bz2 ghdl-6b6397b75abb7068d4ac484119ecf7ff56868192.zip |
Add --std=19
Currently, all behaviour is the same as for --std=08, except for the
standard library search path. No standard libraries exist yet, so
running ghdl with --std=19 will fail.
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-sem_assocs.adb | 2 | ||||
-rw-r--r-- | src/vhdl/vhdl-std_package.adb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-sem_assocs.adb b/src/vhdl/vhdl-sem_assocs.adb index 6d953d7a2..f727b87c0 100644 --- a/src/vhdl/vhdl-sem_assocs.adb +++ b/src/vhdl/vhdl-sem_assocs.adb @@ -503,7 +503,7 @@ package body Vhdl.Sem_Assocs is if Vhdl02_Assocs_Map (Fmode, Amode) then return True; end if; - when Vhdl_08 => + when Vhdl_08 | Vhdl_19 => if Vhdl08_Assocs_Map (Fmode, Amode) then return True; end if; diff --git a/src/vhdl/vhdl-std_package.adb b/src/vhdl/vhdl-std_package.adb index 3c6852c23..40d290891 100644 --- a/src/vhdl/vhdl-std_package.adb +++ b/src/vhdl/vhdl-std_package.adb @@ -1060,7 +1060,8 @@ package body Vhdl.Std_Package is Pure := True; when Vhdl_93 | Vhdl_00 - | Vhdl_08 => + | Vhdl_08 + | Vhdl_19 => Pure := False; end case; Set_Pure_Flag (Function_Now, Pure); |