aboutsummaryrefslogtreecommitdiffstats
path: root/src/libraries.adb
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2022-02-03 17:27:26 +0100
committertgingold <tgingold@users.noreply.github.com>2022-02-28 20:35:32 +0100
commit6b6397b75abb7068d4ac484119ecf7ff56868192 (patch)
treef603c64000341b4635948d46fe95b1b9ba0279d6 /src/libraries.adb
parent20ed64ddc06cbb789d5b6991f0f4c5accaeaf2bf (diff)
downloadghdl-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/libraries.adb')
-rw-r--r--src/libraries.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libraries.adb b/src/libraries.adb
index d7ddfb5ae..bc3d44d83 100644
--- a/src/libraries.adb
+++ b/src/libraries.adb
@@ -139,6 +139,8 @@ package body Libraries is
return Image_Identifier (Library) & "-obj93.cf";
when Vhdl_08 =>
return Image_Identifier (Library) & "-obj08.cf";
+ when Vhdl_19 =>
+ return Image_Identifier (Library) & "-obj19.cf";
end case;
end Library_To_File_Name;
@@ -181,6 +183,8 @@ package body Libraries is
Path (L + 2 .. L + 4) := "v93";
when Vhdl_08 =>
Path (L + 2 .. L + 4) := "v08";
+ when Vhdl_19 =>
+ Path (L + 2 .. L + 4) := "v19";
end case;
L := L + 5;
Path (L) := GNAT.OS_Lib.Directory_Separator;