diff options
author | Emmanuel Briot <briot@adacore.com> | 2009-07-13 09:50:58 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-13 11:50:58 +0200 |
commit | 32404665670241aa41589352c2fb9805f5aac4c6 (patch) | |
tree | bdefab7fc895960f09b6dd991c164a52f489ac1c /gcc/ada/prj-pars.ads | |
parent | 959dd7d8a085ca0f7bab2d37069559e98e63ebc1 (diff) | |
download | gcc-32404665670241aa41589352c2fb9805f5aac4c6.zip gcc-32404665670241aa41589352c2fb9805f5aac4c6.tar.gz gcc-32404665670241aa41589352c2fb9805f5aac4c6.tar.bz2 |
gnatcmd.adb, [...]: Minor reformatting.
2009-07-13 Emmanuel Briot <briot@adacore.com>
* gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb,
prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb,
prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-env.adb, prj-tree.adb,
prj-tree.ads: Minor reformatting.
(Processing_Flags): new record to encapsulate the set of common
parameters to several subprograms in the project manager.
(Prj.Nmsc.Process_Naming_Scheme): renames Check, and moved to body
Remove the need for the Current_Dir parameter in subprograms.
(Look_For_Sources): minor refactoring, now that we no longer need to
share subprograms between the two Ada_Only and Multi_Language modes
(Processing_Flags): New field Error_On_Unknown_Language.
Merge tests for library project between gnatmake and gprbuild.
From-SVN: r149563
Diffstat (limited to 'gcc/ada/prj-pars.ads')
-rw-r--r-- | gcc/ada/prj-pars.ads | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/ada/prj-pars.ads b/gcc/ada/prj-pars.ads index 2494dcb..01caff9 100644 --- a/gcc/ada/prj-pars.ads +++ b/gcc/ada/prj-pars.ads @@ -35,8 +35,7 @@ package Prj.Pars is Project : out Project_Id; Project_File_Name : String; Packages_To_Check : String_List_Access := All_Packages; - When_No_Sources : Error_Warning := Error; - Report_Error : Prj.Put_Line_Access := null; + Flags : Processing_Flags; Reset_Tree : Boolean := True); -- Parse and process a project files and all its imported project files, in -- the project tree In_Tree. @@ -56,9 +55,6 @@ package Prj.Pars is -- produces an error. For other packages, an unknown attribute produces a -- warning. -- - -- When_No_Sources indicates what should be done when no sources are found - -- in a project for a specified or implied language. - -- -- When Reset_Tree is True, all the project data are removed from the -- project table before processing. |