diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-26 07:40:04 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-26 07:40:04 +0000 |
commit | 8453782c2b508a3c18474bf6626f31ba3e21c968 (patch) | |
tree | e58d32f726e2d188319b9870aafdef0441e585b5 /gcc/ada/s-parint.adb | |
parent | 79879aee6a342eea431e7ec8e3d604e68df79331 (diff) | |
download | gcc-8453782c2b508a3c18474bf6626f31ba3e21c968.tar.gz |
2008-03-26 Robert Dewar <dewar@adacore.com>
* g-pehage.adb, g-regist.adb, g-spipat.ads, g-spipat.adb,
s-asthan.adb, s-parint.adb, s-rpc.adb, s-stchop.adb: Replace
Raise_Exception by "raise with" construct.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133568 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-parint.adb')
-rw-r--r-- | gcc/ada/s-parint.adb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/s-parint.adb b/gcc/ada/s-parint.adb index f8bcdcc0bb8..622c2d01062 100644 --- a/gcc/ada/s-parint.adb +++ b/gcc/ada/s-parint.adb @@ -7,7 +7,7 @@ -- B o d y -- -- (Dummy body for non-distributed case) -- -- -- --- Copyright (C) 1995-2006, Free Software Foundation, Inc. -- +-- Copyright (C) 1995-2007, Free Software Foundation, Inc. -- -- -- -- GNARL 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- -- @@ -215,8 +215,7 @@ package body System.Partition_Interface is (E : Ada.Exceptions.Exception_Occurrence) is begin - Ada.Exceptions.Raise_Exception - (Program_Error'Identity, Ada.Exceptions.Exception_Message (E)); + raise Program_Error with Ada.Exceptions.Exception_Message (E); end Raise_Program_Error_Unknown_Tag; ----------------- |