diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-01 11:06:39 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-01 11:06:39 +0000 |
commit | 7d3f6cd3a0a8307a775ca43d8d1054e0b23c5f59 (patch) | |
tree | 98b929665df3df7318cc6c5fd428f4415c125e73 /gcc/ada/prj-proc.adb | |
parent | 4f84b7226c55f96f3fa458af7d8a15a72f33d1f8 (diff) | |
download | ppe42-gcc-7d3f6cd3a0a8307a775ca43d8d1054e0b23c5f59.tar.gz ppe42-gcc-7d3f6cd3a0a8307a775ca43d8d1054e0b23c5f59.zip |
2011-09-01 Pascal Obry <obry@adacore.com>
* prj-proc.adb, prj.ads, sinput-p.adb: Minor reformatting.
2011-09-01 Ed Schonberg <schonberg@adacore.com>
* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Generate references to
the formals of a subprogram stub that acts as a spec.
2011-09-01 Ed Schonberg <schonberg@adacore.com>
* exp_ch6.adb (Expand_Inlined_Call): If an actual is a by_reference
type, declare a renaming for it, not an object declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178407 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/prj-proc.adb')
-rw-r--r-- | gcc/ada/prj-proc.adb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/ada/prj-proc.adb b/gcc/ada/prj-proc.adb index 1a4ca34de02..251b86d7661 100644 --- a/gcc/ada/prj-proc.adb +++ b/gcc/ada/prj-proc.adb @@ -1992,7 +1992,7 @@ package body Prj.Proc is Var : Variable_Id := No_Variable; begin - -- First, find the list where to find the variable or attribute. + -- First, find the list where to find the variable or attribute if Is_Attribute then if Pkg /= No_Package then @@ -2009,7 +2009,7 @@ package body Prj.Proc is end if; end if; - -- Loop through the list, to find if it has already been declared. + -- Loop through the list, to find if it has already been declared while Var /= No_Variable and then Shared.Variable_Elements.Table (Var).Name /= Name @@ -2496,7 +2496,7 @@ package body Prj.Proc is Extended_By : Project_Id) is Shared : constant Shared_Project_Tree_Data_Access := - In_Tree.Shared; + In_Tree.Shared; Child_Env : Prj.Tree.Environment; -- Only used for the root aggregate project (if any). This is left @@ -2765,7 +2765,6 @@ package body Prj.Proc is Project := Processed_Projects.Get (Name); if Project /= No_Project then - -- Make sure that, when a project is extended, the project id -- of the project extending it is recorded in its data, even -- when it has already been processed as an imported project. |