X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fada%2Fs-valrea.ads;h=0c3510dc3230420feb5068989f1074592700fa68;hb=afb9ca771908720c4a5d0a5600d29f51e9fa7805;hp=2d01468f4082ebb1483bb565c11d06bcb5adbe68;hpb=c9a428449e505030e0cbacc2b8697ef2166d06cb;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ada/s-valrea.ads b/gcc/ada/s-valrea.ads index 2d01468f408..0c3510dc323 100644 --- a/gcc/ada/s-valrea.ads +++ b/gcc/ada/s-valrea.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2005 Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2006, 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- -- @@ -16,8 +16,8 @@ -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- --- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- --- MA 02111-1307, USA. -- +-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- +-- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- @@ -32,12 +32,12 @@ ------------------------------------------------------------------------------ package System.Val_Real is -pragma Pure (Val_Real); + pragma Pure; function Scan_Real - (Str : String; - Ptr : access Integer; - Max : Integer) return Long_Long_Float; + (Str : String; + Ptr : not null access Integer; + Max : Integer) return Long_Long_Float; -- This function scans the string starting at Str (Ptr.all) for a valid -- real literal according to the syntax described in (RM 3.5(43)). The -- substring scanned extends no further than Str (Max). There are three