PR ada/19414
* i-cobol.adb (Valid_Numeric): Handle zero length case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94287
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-01-26 Laurent GUERBY <laurent@guerby.net>
+
+ PR ada/19414
+ * i-cobol.adb (Valid_Numeric): Handle zero length case.
+
2005-01-20 Richard Henderson <rth@redhat.com>
* Makefile.in (alpha-linux, LIBGNAT_TARGET_PAIRS): Use
return Boolean
is
begin
+ if Item'Length = 0 then
+ return False;
+ end if;
+
-- All character positions except first and last must be Digits.
-- This is true for all the formats.