-- mapping file whose file name is File_Name.
procedure Reset_Tables;
- -- Initialize all the internal data structures. This procedure is used
- -- when several compilations are performed by the same process (by GNSA
- -- for ASIS, for example) to remove any existing mappings from a previous
- -- compilation.
+ -- Initialize all the internal data structures
procedure Add_Forbidden_File_Name (Name : File_Name_Type);
-- Indicate that a source file name is forbidden. This is used when there
-- messages must always point to the same location as the parent message.
procedure Initialize;
- -- Initializes the internal data structures. Must be called before each
- -- separate main program unit (e.g. in a GNSA/ASIS context).
+ -- Initializes the internal data structures
private
-- The Eval routines are all marked inline, since they are called once
Header_Size : constant Int := 2 ** 12;
No_Entry : constant Int := -1;
- Headers : array (0 .. Header_Size) of Int := (others => No_Entry);
+ Headers : array (0 .. Header_Size) of Int;
package Interp_Map is new Table.Table (
Table_Component_Type => Interp_Ref,
-----------------
procedure Init_Interp_Tables;
- -- Invoked by gnatf when processing multiple files
+ -- Initialize data structures for overload resolution
procedure Collect_Interps (N : Node_Id);
-- Invoked when the name N has more than one visible interpretation. This
--------------------------------------
procedure Initialize;
- -- Initializes the strings table for a new compilation.
+ -- Initializes the strings table for a new compilation
procedure Lock;
-- Lock internal tables before calling back end