From 489c6e198e9e78f635878bdec992ce4d9fa807a2 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Fri, 12 Apr 2013 15:19:15 +0200 Subject: [multiple changes] 2013-04-12 Robert Dewar * checks.adb, sem_elab.adb, repinfo.adb, sem_ch4.adb, restrict.adb, restrict.ads: Minor reformatting. 2013-04-12 Ed Schonberg * lib-xref.adb: Retrieve original name of classwide type if any. 2013-04-12 Thomas Quinot * exp_ch11.ads: Minor reformatting. From-SVN: r197910 --- gcc/ada/sem_elab.adb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'gcc/ada/sem_elab.adb') diff --git a/gcc/ada/sem_elab.adb b/gcc/ada/sem_elab.adb index 710983f..fe640d5 100644 --- a/gcc/ada/sem_elab.adb +++ b/gcc/ada/sem_elab.adb @@ -3339,14 +3339,11 @@ package body Sem_Elab is if Nkind (Item) = N_Pragma and then Pragma_Name (Item) = Name_Elaborate_All then - -- Return if some previous error on the pragma itself - -- The pragma may be unanalyzed, because of a previous error, - -- or if it is the context of a subunit, inherited by its - -- parent. + -- Return if some previous error on the pragma itself. The + -- pragma may be unanalyzed, because of a previous error, or + -- if it is the context of a subunit, inherited by its parent. - if Error_Posted (Item) - or else not Analyzed (Item) - then + if Error_Posted (Item) or else not Analyzed (Item) then return; end if; -- cgit v1.1