summaryrefslogtreecommitdiff
path: root/gcc/ada/prj.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/prj.ads')
-rw-r--r--gcc/ada/prj.ads19
1 files changed, 18 insertions, 1 deletions
diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads
index 449b038e475..66f878688d0 100644
--- a/gcc/ada/prj.ads
+++ b/gcc/ada/prj.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2001-2012, Free Software Foundation, Inc. --
+-- Copyright (C) 2001-2013, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -45,6 +45,10 @@ package Prj is
-- Call by gprbuild for each language specify by switch
-- --restricted-to-languages=.
+ procedure Remove_All_Restricted_Languages;
+ -- Call by gprbuild in CodePeer mode to ignore switches
+ -- --restricted-to-languages=.
+
function Is_Allowed_Language (Name : Name_Id) return Boolean;
-- Returns True if --restricted-to-languages= is not used or if Name
-- is one of the restricted languages.
@@ -1829,6 +1833,7 @@ package Prj is
Gprbuild_Flags : constant Processing_Flags;
Gprclean_Flags : constant Processing_Flags;
+ Gprexec_Flags : constant Processing_Flags;
Gnatmake_Flags : constant Processing_Flags;
-- Flags used by the various tools. They all display the error messages
-- through Prj.Err.
@@ -2003,6 +2008,18 @@ private
Missing_Source_Files => Error,
Ignore_Missing_With => False);
+ Gprexec_Flags : constant Processing_Flags :=
+ (Report_Error => null,
+ When_No_Sources => Silent,
+ Require_Sources_Other_Lang => False,
+ Allow_Duplicate_Basenames => False,
+ Compiler_Driver_Mandatory => False,
+ Error_On_Unknown_Language => True,
+ Require_Obj_Dirs => Silent,
+ Allow_Invalid_External => Error,
+ Missing_Source_Files => Silent,
+ Ignore_Missing_With => False);
+
Gnatmake_Flags : constant Processing_Flags :=
(Report_Error => null,
When_No_Sources => Error,