diff options
author | Robert Dewar <dewar@adacore.com> | 2012-01-30 11:50:52 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2012-01-30 12:50:52 +0100 |
commit | 37da997b17c1352e72d661f1426d78aa488c3399 (patch) | |
tree | d142f637db09aa859f72a46fdd034128fa1bb9a5 /gcc/ada/prj.ads | |
parent | 7873037fd8ad42ad0494cb2f5d7044309381183c (diff) | |
download | gcc-37da997b17c1352e72d661f1426d78aa488c3399.zip gcc-37da997b17c1352e72d661f1426d78aa488c3399.tar.gz gcc-37da997b17c1352e72d661f1426d78aa488c3399.tar.bz2 |
a-strhas.ads, [...]: Minor reformatting/code reorganization.
2012-01-30 Robert Dewar <dewar@adacore.com>
* a-strhas.ads, einfo.adb, einfo.ads, exp_ch7.adb, exp_ch9.adb,
freeze.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-proc.adb, s-llflex.ads,
s-ransee.adb, s-ransee.ads, sem_ch13.adb, sem_dim.adb, sem_prag.adb:
Minor reformatting/code reorganization.
From-SVN: r183710
Diffstat (limited to 'gcc/ada/prj.ads')
-rw-r--r-- | gcc/ada/prj.ads | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads index 830f511..fa36d85 100644 --- a/gcc/ada/prj.ads +++ b/gcc/ada/prj.ads @@ -938,8 +938,8 @@ package Prj is type Project_List_Element; type Project_List is access all Project_List_Element; type Project_List_Element is record - Project : Project_Id := No_Project; - From_Encapsulated_Lib : Boolean := False; + Project : Project_Id := No_Project; + From_Encapsulated_Lib : Boolean := False; Next : Project_List := null; end record; -- A list of projects @@ -1408,8 +1408,8 @@ package Prj is function For_Each_Source (In_Tree : Project_Tree_Ref; Project : Project_Id := No_Project; - Language : Name_Id := No_Name; - Encapsulated_Libs : Boolean := True) return Source_Iterator; + Language : Name_Id := No_Name; + Encapsulated_Libs : Boolean := True) return Source_Iterator; -- Returns an iterator for all the sources of a project tree, or a specific -- project, or a specific language. Include sources from aggregated libs if -- Aggregated_Libs is True. @@ -1601,8 +1601,9 @@ package Prj is -- aggregated projects, since they might not be using the same tree as 'By' type Project_Context is record - In_Aggregate_Lib : Boolean; + In_Aggregate_Lib : Boolean; -- True if the project is part of an aggregate library + From_Encapsulated_Lib : Boolean; -- True if the project is imported from an encapsulated library end record; @@ -1850,7 +1851,7 @@ private Language_Name : Name_Id; -- Only sources of this language will be returned (or all if No_Name) - Current : Source_Id; + Current : Source_Id; Encapsulated_Libs : Boolean; -- True if we want to include the sources from encapsulated libs |