diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-01 13:21:23 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-01 13:21:23 +0000 |
commit | 4e3af5dd458247067c94829f80074872a67d1ab2 (patch) | |
tree | f4b74c551490e0f742dfde5aa5c529016fd19b35 /gcc/ada/prj-env.adb | |
parent | 5198c5247024292180223a1ff398d4616e984098 (diff) | |
download | gcc-4e3af5dd458247067c94829f80074872a67d1ab2.tar.gz |
2011-09-01 Robert Dewar <dewar@adacore.com>
* prj-proc.adb, exp_ch6.adb, prj-env.adb: Minor reformatting.
2011-09-01 Bob Duff <duff@adacore.com>
* sem_aggr.adb (Resolve_Aggregate): Need to treat "in instance
body" the same as "in inlined body", because visibility shouldn't
apply there.
2011-09-01 Eric Botcazou <ebotcazou@adacore.com>
* inline.adb (Add_Inlined_Body): Refine previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178412 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/prj-env.adb')
-rw-r--r-- | gcc/ada/prj-env.adb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/prj-env.adb b/gcc/ada/prj-env.adb index 68965ab3156..6dcee667cc1 100644 --- a/gcc/ada/prj-env.adb +++ b/gcc/ada/prj-env.adb @@ -836,19 +836,18 @@ package body Prj.Env is or else Source.Unit /= No_Unit_Index) then if Source.Unit /= No_Unit_Index then + -- Put the encoded unit name in the name buffer declare Uname : constant String := - Get_Name_String (Source.Unit.Name); + Get_Name_String (Source.Unit.Name); begin Name_Len := 0; - for J in Uname'Range loop if Uname (J) in Upper_Half_Character then Store_Encoded_Character (Get_Char_Code (Uname (J))); - else Add_Char_To_Name_Buffer (Uname (J)); end if; @@ -879,8 +878,7 @@ package body Prj.Env is end case; if Suffix /= No_File then - Add_Str_To_Name_Buffer - (Get_Name_String (Suffix)); + Add_Str_To_Name_Buffer (Get_Name_String (Suffix)); end if; end if; @@ -907,6 +905,8 @@ package body Prj.Env is procedure For_Every_Imported_Project is new For_Every_Project_Imported (State => Integer, Action => Process); + -- Local variables + Dummy : Integer := 0; -- Start of processing for Create_Mapping_File |