diff options
Diffstat (limited to 'gcc/ada/lib-load.ads')
-rw-r--r-- | gcc/ada/lib-load.ads | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gcc/ada/lib-load.ads b/gcc/ada/lib-load.ads index 0d8c9d824b0..36e7e06622e 100644 --- a/gcc/ada/lib-load.ads +++ b/gcc/ada/lib-load.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2001, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2002, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -88,6 +88,14 @@ package Lib.Load is ----------------- procedure Initialize; + -- Initialize internal tables + + procedure Initialize_Version (U : Unit_Number_Type); + -- This is called once the source file corresponding to unit U has been + -- fully scanned. At that point the checksum is computed, and can be used + -- to initialize the version number. + + procedure Load_Main_Source; -- Called at the start of compiling a new main source unit to initialize -- the library processing for the new main source. Establishes and -- initializes the units table entry for the new main unit (leaving @@ -95,11 +103,6 @@ package Lib.Load is -- more files. Otherwise the main source file has been opened and read -- and then closed on return. - procedure Initialize_Version (U : Unit_Number_Type); - -- This is called once the source file corresponding to unit U has been - -- fully scanned. At that point the checksum is computed, and can be used - -- to initialize the version number. - function Load_Unit (Load_Name : Unit_Name_Type; Required : Boolean; |