aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/fmap.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/fmap.ads')
-rw-r--r--gcc/ada/fmap.ads10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/fmap.ads b/gcc/ada/fmap.ads
index 57ea016..0e37b9b 100644
--- a/gcc/ada/fmap.ads
+++ b/gcc/ada/fmap.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- $Revision: 1.1 $
+-- $Revision$
-- --
-- Copyright (C) 2001, Free Software Foundation, Inc. --
-- --
@@ -37,6 +37,8 @@ package Fmap is
-- Initialize the mappings from the mapping file File_Name.
-- If the mapping file is incorrect (non existent file, truncated file,
-- duplicate entries), output a warning and do not initialize the mappings.
+ -- Record the state of the mapping tables in case Update is called
+ -- later on.
function Mapped_Path_Name (File : File_Name_Type) return File_Name_Type;
-- Return the path name mapped to the file name File.
@@ -52,4 +54,10 @@ package Fmap is
Path_Name : File_Name_Type);
-- Add mapping of Unit_Name to File_Name and of File_Name to Path_Name
+ procedure Update_Mapping_File (File_Name : String);
+ -- If Add_To_File_Map has been called (after Initialize or any time
+ -- if Initialize has not been called), append the new entries to the
+ -- to the mapping file.
+ -- What is the significance of the parameter File_Name ???
+
end Fmap;