From b534f49ed624fc05812c551dac997bd0db78dcb4 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Fri, 20 Feb 2015 14:52:31 +0100 Subject: [multiple changes] 2015-02-20 Robert Dewar * switch-c.adb, bindgen.adb: Minor reformatting. 2015-02-20 Ed Schonberg * sem_prag.adb (Analyze_Pragma, case Type_Invariant): Invariant'class is allowed on an abstract type. 2015-02-20 Ed Schonberg * sem_ch3.adb (Access_Definition): If the access definition is for a protected component and defines an access to protected subprogram, do not create an itype reference for it because a full type declaration will be built in order to generate the proper equivalent type. (Analyze_Subtype_Declaration): Add information of incomplete subtypes, for Ada 2012 extended uses of incomplete types. From-SVN: r220856 --- gcc/ada/switch-c.adb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gcc/ada/switch-c.adb') diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb index b431081..4f2f06e 100644 --- a/gcc/ada/switch-c.adb +++ b/gcc/ada/switch-c.adb @@ -219,10 +219,8 @@ package body Switch.C is (Switch_Chars (Ptr + 4 .. Max)) then Runtime_Dir := - new String' - (System.OS_Lib.Normalize_Pathname - (Switch_Chars (Ptr + 4 .. Max))); - + new String'(System.OS_Lib.Normalize_Pathname + (Switch_Chars (Ptr + 4 .. Max))); else Runtime_Dir := new String'(Switch_Chars (Ptr + 4 .. Max)); -- cgit v1.1