diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-14 13:42:26 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-14 13:42:26 +0000 |
commit | 52c7b7c00fb3421a15dc03d87a6c71e002066c33 (patch) | |
tree | 75a5dc69e760fdf43c1ecb566f7d668ba3f3c0b6 /gcc/ada/exp_ch11.adb | |
parent | 4b143f44e24f4d9d8152bac1fb9e6e6313733a03 (diff) | |
download | gcc-52c7b7c00fb3421a15dc03d87a6c71e002066c33.tar.gz |
2013-10-14 Robert Dewar <dewar@adacore.com>
* sem_ch3.adb: Minor fix to error message.
* a-exexpr-gcc.adb, sem_util.adb, sem_case.adb, exp_ch11.adb: Minor
reformatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203554 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch11.adb')
-rw-r--r-- | gcc/ada/exp_ch11.adb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/ada/exp_ch11.adb b/gcc/ada/exp_ch11.adb index ba6a85278dc..c5abb228a17 100644 --- a/gcc/ada/exp_ch11.adb +++ b/gcc/ada/exp_ch11.adb @@ -1044,7 +1044,7 @@ package body Exp_Ch11 is Save := Make_Procedure_Call_Statement (No_Location, - Name => + Name => New_Occurrence_Of (RTE (RE_Save_Occurrence), No_Location), Parameter_Associations => New_List ( @@ -1061,20 +1061,18 @@ package body Exp_Ch11 is Prepend (Save, Statements (Handler)); Obj_Decl := - Make_Object_Declaration - (Cloc, - Defining_Identifier => Cparm, - Object_Definition => - New_Occurrence_Of - (RTE (RE_Exception_Occurrence), Cloc)); + Make_Object_Declaration (Cloc, + Defining_Identifier => Cparm, + Object_Definition => + New_Occurrence_Of + (RTE (RE_Exception_Occurrence), Cloc)); Set_No_Initialization (Obj_Decl, True); Rewrite (Handler, Make_Exception_Handler (Hloc, Choice_Parameter => Empty, Exception_Choices => Exception_Choices (Handler), - - Statements => New_List ( + Statements => New_List ( Make_Block_Statement (Hloc, Declarations => New_List (Obj_Decl), Handled_Statement_Sequence => |