From d1ced162c2d0525032df4c98d4d14dbcc7980de7 Mon Sep 17 00:00:00 2001 From: Robert Dewar Date: Wed, 22 Jul 2009 10:25:32 +0000 Subject: s-stchop.adb, [...]: Make sure sources obey short-circuit style rule. 2009-07-22 Robert Dewar * s-stchop.adb, a-direct.adb, a-ztexio.adb, gnatchop.adb, prj-proc.adb, make.adb, s-regpat.adb, ali-util.adb, a-ngcefu.adb, prep.adb, s-tassta.adb, a-tifiio.adb, a-textio.adb, prj.adb, uintp.adb, s-valrea.adb, a-ngelfu.adb, prepcomp.adb, sinput-l.adb, vms_conv.adb, errout.adb, g-alleve.adb, repinfo.adb, a-wtedit.adb, ali.adb, a-witeio.adb, prj-dect.adb, prj-nmsc.adb, sinput-c.adb, binde.adb, s-regexp.adb, s-imgrea.adb, a-teioed.adb, errutil.adb, prj-util.adb, a-ztedit.adb, gnatls.adb, prj-conf.adb, bcheck.adb, s-scaval.adb, erroutc.adb, osint.adb, a-strfix.adb, s-fileio.adb: Make sure sources obey short-circuit style rule. From-SVN: r149921 --- gcc/ada/uintp.adb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/ada/uintp.adb') diff --git a/gcc/ada/uintp.adb b/gcc/ada/uintp.adb index a7efcff7483..93377219175 100644 --- a/gcc/ada/uintp.adb +++ b/gcc/ada/uintp.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2009 Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -759,7 +759,7 @@ package body Uintp is function Sum_Digits (Left : Uint; Sign : Int) return Int is begin - pragma Assert (Sign = Int_1 or Sign = Int (-1)); + pragma Assert (Sign = Int_1 or else Sign = Int (-1)); -- First try simple case; @@ -858,7 +858,7 @@ package body Uintp is begin -- First try simple case; - pragma Assert (Sign = Int_1 or Sign = Int (-1)); + pragma Assert (Sign = Int_1 or else Sign = Int (-1)); if Direct (Left) then return Direct_Val (Left); -- cgit v1.2.1