aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/ali.ads
diff options
context:
space:
mode:
authorThomas Quinot <quinot@adacore.com>2014-07-30 15:06:40 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2014-07-30 17:06:40 +0200
commit9e5a6ee7c81968a13169634a16aef746e540c679 (patch)
tree46db6c49f7ba8ac1fa6a4df8a2f682e1e8fccfed /gcc/ada/ali.ads
parent3ea8f61e9fcdc8e9b558d5c03cafdec439de0147 (diff)
downloadgcc-9e5a6ee7c81968a13169634a16aef746e540c679.zip
gcc-9e5a6ee7c81968a13169634a16aef746e540c679.tar.gz
gcc-9e5a6ee7c81968a13169634a16aef746e540c679.tar.bz2
lib-load.ads: Minor reformatting.
2014-07-30 Thomas Quinot <quinot@adacore.com> * lib-load.ads: Minor reformatting. * sinfo.ads (Library_Unit): Update comment. * lib.ads (Notes): Simplify. The Unit component in Notes_Entry is redundant. Instead used the pragma Node_Id directly as the element type. 2014-07-30 Thomas Quinot <quinot@adacore.com> * lib.adb (Store_Note): Store only notes that do not come from an instance, and that are in the extended main source unit. * lib-writ (Write_Unit_Information): Annotations from subunits must be emitted along with those for the main unit, and they must carry a specific file name. * ali.ads (Notes_Record): Use a File_Name_Type instead of a Unit_Id for the source file containing the pragma, as in the case of annotations from subunits we might not have a readily available unit id. * ali.adb (Scan_ALI): Account for above change in data structure. From-SVN: r213295
Diffstat (limited to 'gcc/ada/ali.ads')
-rw-r--r--gcc/ada/ali.ads4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/ali.ads b/gcc/ada/ali.ads
index 1b05ba6..130284b 100644
--- a/gcc/ada/ali.ads
+++ b/gcc/ada/ali.ads
@@ -669,8 +669,8 @@ package ALI is
Pragma_Col : Nat;
-- Column number of pragma
- Unit : Unit_Id;
- -- Unit_Id for the entry
+ Pragma_Source_File : File_Name_Type;
+ -- Source file of pragma
Pragma_Args : Name_Id;
-- Pragma arguments. No_Name if no arguments, otherwise a single