aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-05-21 15:04:54 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-05-21 15:04:54 +0200
commitb7b92f15d30a1cae3d59af69dad849fe4025f24f (patch)
tree216101f8a11441cc9848074c0539cf34e7ba9bd5 /gcc/ada/prj.ads
parent0df5ae93e08e17fbe36bfcd1bda8ea24af968a64 (diff)
downloadgcc-b7b92f15d30a1cae3d59af69dad849fe4025f24f.zip
gcc-b7b92f15d30a1cae3d59af69dad849fe4025f24f.tar.gz
gcc-b7b92f15d30a1cae3d59af69dad849fe4025f24f.tar.bz2
[multiple changes]
2014-05-21 Robert Dewar <dewar@adacore.com> * prj.ads, sem_ch12.adb, prj.adb, exp_pakd.adb, sem_elab.ads: Minor reformatting. * erroutc.adb, erroutc.ads (Warning_Specifically_Suppressed): Make Tag parameter optional. 2014-05-21 Pascal Obry <obry@adacore.com> * prj-dect.adb: Allow package Install in aggregate project. From-SVN: r210703
Diffstat (limited to 'gcc/ada/prj.ads')
-rw-r--r--gcc/ada/prj.ads20
1 files changed, 13 insertions, 7 deletions
diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads
index d0af1a2..ce6e01e 100644
--- a/gcc/ada/prj.ads
+++ b/gcc/ada/prj.ads
@@ -1534,13 +1534,19 @@ package Prj is
In_Imported_Only : Boolean := False;
In_Extended_Only : Boolean := False;
Base_Name : File_Name_Type;
- Index : Int := 0) return Source_Ids;
- -- Find all source files with the given name.
- -- If In_Extended_Only is True, it will search in project and the project
- -- it extends, but not in the imported projects.
- -- Elsif In_Imported_Only is True, it will search in project and the
- -- projects it imports, but not in the others or in aggregated projects.
- -- Else it searches in the whole tree.
+ Index : Int := 0) return Source_Ids;
+ -- Find all source files with the given name:
+ --
+ -- If In_Extended_Only is True, it will search in project and the project
+ -- it extends, but not in the imported projects.
+ --
+ -- If Extended_Only is False, and In_Imported_Only is True, it will
+ -- search in project and the projects it imports, but not in the others
+ -- or in aggregated projects.
+ --
+ -- If both Extended_Only and In_Imported_Only are False (the default)
+ -- then it searches the whole tree.
+ --
-- If Index is specified, this only search for sources with that index.
-----------------------