diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-03 11:21:55 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-03 11:21:55 +0200 |
commit | c0e538ad8071a46fc28634e622faa5a51bf81807 (patch) | |
tree | 3725855258e586f8b68daed8cfdfe5efa06f8cf7 /gcc/ada/prj-part.ads | |
parent | c4d67e2d730f6a8e45182a384b5b674f5134bc64 (diff) | |
download | gcc-c0e538ad8071a46fc28634e622faa5a51bf81807.tar.gz |
[multiple changes]
2011-08-03 Emmanuel Briot <briot@adacore.com>
* prj-part.adb, prj-part.ads, prj-makr.adb, prj-pars.adb, prj-conf.adb,
prj-env.adb (Prj.Part.Parse): change parameter Always_Errout_Finalize
to Errout_Handling.
2011-08-03 Emmanuel Briot <briot@adacore.com>
* prj-dect.adb (Parse_Attribute_Declaration): make sure we can use
"external" as an attribute name in aggregate projects.
2011-08-03 Jose Ruiz <ruiz@adacore.com>
* s-taprop-vxworks.adb: (Create_Task, Initialize): Ada 2012 pragma CPU
uses CPU numbers starting 1, while VxWorks uses CPU numbers starting
from 0, so we need to adjust.
2011-08-03 Emmanuel Briot <briot@adacore.com>
* prj-proc.adb, prj-ext.adb, prj-ext.ads, makeutl.adb, prj-tree.adb,
prj-tree.ads, gnatcmd.adb, clean.adb (External_References): new type.
From-SVN: r177244
Diffstat (limited to 'gcc/ada/prj-part.ads')
-rw-r--r-- | gcc/ada/prj-part.ads | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/prj-part.ads b/gcc/ada/prj-part.ads index 7f8be2147e8..c4468a41531 100644 --- a/gcc/ada/prj-part.ads +++ b/gcc/ada/prj-part.ads @@ -29,11 +29,19 @@ with Prj.Tree; use Prj.Tree; package Prj.Part is + type Errout_Mode is + (Always_Finalize, + Finalize_If_Error, + Never_Finalize); + -- Whether Parse should call Errout.Finalize (which prints the error + -- messages on stdout). When Never_Finalize is used, Errout is not reset + -- either at the beginning of Parse. + procedure Parse (In_Tree : Project_Node_Tree_Ref; Project : out Project_Node_Id; Project_File_Name : String; - Always_Errout_Finalize : Boolean; + Errout_Handling : Errout_Mode := Always_Finalize; Packages_To_Check : String_List_Access := All_Packages; Store_Comments : Boolean := False; Current_Directory : String := ""; |