aboutsummaryrefslogtreecommitdiffstats
path: root/src/tables.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-25 05:12:24 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-25 05:12:24 +0200
commit4030d67a73d4b5254912c586b6638ca3851855d6 (patch)
tree4922d6f35cf9160291eba352ee5f0b2254d41342 /src/tables.adb
parent88a4798285037a18cb7d27057474d52eca819520 (diff)
downloadghdl-4030d67a73d4b5254912c586b6638ca3851855d6.tar.gz
ghdl-4030d67a73d4b5254912c586b6638ca3851855d6.tar.bz2
ghdl-4030d67a73d4b5254912c586b6638ca3851855d6.zip
dyn_tables,tables: add Reserve. For #2139
Diffstat (limited to 'src/tables.adb')
-rw-r--r--src/tables.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tables.adb b/src/tables.adb
index 3ed04af87..ffd071a9b 100644
--- a/src/tables.adb
+++ b/src/tables.adb
@@ -24,6 +24,11 @@ package body Tables is
return Res;
end Allocate;
+ procedure Reserve (Num : Natural := 1) is
+ begin
+ Dyn_Table.Reserve (T, Num);
+ end Reserve;
+
procedure Increment_Last is
begin
-- Increase by 1.