diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-13 09:50:58 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-13 09:50:58 +0000 |
commit | 85e117689468a35102b82009c9c3d0fd49c13cc5 (patch) | |
tree | bdefab7fc895960f09b6dd991c164a52f489ac1c /gcc/ada/prj-pars.ads | |
parent | 170e14742060dfd69c09cf5d9e32fcf0ab90b572 (diff) | |
download | gcc-85e117689468a35102b82009c9c3d0fd49c13cc5.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149563 138bc75d-0d04-0410-961f-82ee72b054a4
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 2494dcb0917..01caff93c19 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. |