summaryrefslogtreecommitdiff
path: root/gcc/ada/prj-proc.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-24 09:57:13 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-24 09:57:13 +0000
commit487efa8a5b4fc87b5dd5f6cbb350de7989cdeb5b (patch)
treea4e7eb796c5e2dc481738203d747f83b12577a22 /gcc/ada/prj-proc.ads
parent4c49dbaaab6c74c6f8aea2def876f27d5d6ff5b0 (diff)
downloadgcc-487efa8a5b4fc87b5dd5f6cbb350de7989cdeb5b.tar.gz
2009-06-24 Emmanuel Briot <briot@adacore.com>
* prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb, prj-conf.ads (Allow_Duplicate_Basenames): New parameter to several subprograms. (Source_Data.Other_Part): Removed, since can be computed from the language. (Other_Part): New subprogram. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148904 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/prj-proc.ads')
-rw-r--r--gcc/ada/prj-proc.ads7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/prj-proc.ads b/gcc/ada/prj-proc.ads
index 11f6f488a1c..ae69d968ff6 100644
--- a/gcc/ada/prj-proc.ads
+++ b/gcc/ada/prj-proc.ads
@@ -67,7 +67,8 @@ package Prj.Proc is
When_No_Sources : Error_Warning := Error;
Current_Dir : String;
Is_Config_File : Boolean;
- Compiler_Driver_Mandatory : Boolean);
+ Compiler_Driver_Mandatory : Boolean;
+ Allow_Duplicate_Basenames : Boolean);
-- Perform the second phase of the processing, filling the rest of the
-- project with the information extracted from the project tree. This phase
-- requires that the configuration file has already been parsed (in fact
@@ -78,6 +79,10 @@ package Prj.Proc is
-- Current_Dir is for optimization purposes, avoiding extra system calls.
--
-- Is_Config_File should be true if Project is a config file (.cgpr)
+ --
+ -- If Allow_Duplicate_Basenames, then files with the same base names are
+ -- authorized within a project for source-based languages (never for unit
+ -- based languages)
procedure Process
(In_Tree : Project_Tree_Ref;