From b7b92f15d30a1cae3d59af69dad849fe4025f24f Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Wed, 21 May 2014 15:04:54 +0200 Subject: [multiple changes] 2014-05-21 Robert Dewar * 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 * prj-dect.adb: Allow package Install in aggregate project. From-SVN: r210703 --- gcc/ada/prj.ads | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'gcc/ada/prj.ads') 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. ----------------------- -- cgit v1.1