comp.lang.ada
 help / color / mirror / Atom feed
* Re: Probl�me avec des get(fichier, integer)
  2002-01-03 15:47 ` M. A. Alves
@ 2002-01-03 17:56 Nick Roberts
  2002-01-04 11:46 ` Problème " M. A. Alves
  -1 siblings, 1 reply; 7+ messages in thread
From: Nick Roberts @ 2002-01-03 17:56 UTC (permalink / raw)


"M. A. Alves" <maa@liacc.up.pt> wrote in message
news:mailman.1010072881.27934.comp.lang.ada@ada.eu.org...

> ...
> Seems like a GNAT bug to me.

It's not a GNAT bug! Poor GNAT seems to get wrongly accused too often.

In a dark corner of the reference manual - RM95 J.2 (3) - you will see that
the '#' hashes in a based numeric literal are permitted to be replaced by
':' colons. (This is an obsolescent feature, and so may be removed by a
future revision.)

Thus, standard Ada.Integer_Text_IO.Get interprets a ':' character as part of
the numeric literal (and if it gets to the end of the line before finding
the next one, raises Ada.IO_Exceptions.Data_Error).

So GNAT behaves absolutely pukka here.

--
Nick Roberts






^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <Pine.LNX.4.33.0201031536550.26565-100000@lagoa.niaad.liacc.up.pt>]
[parent not found: <a0vili$oga$1@wanadoo.fr>]

end of thread, other threads:[~2002-01-11  1:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <006801c1949b$39e20500$0301a8c6@STEVEN>
2002-01-04 11:40 ` Problème avec des get(fichier, integer) M. A. Alves
2002-01-03 17:56 Probl�me " Nick Roberts
2002-01-04 11:46 ` Problème " M. A. Alves
     [not found] <Pine.LNX.4.33.0201031536550.26565-100000@lagoa.niaad.liacc.up.pt>
2002-01-03 16:43 ` M. A. Alves
2002-01-03 21:11 ` Steven Deller
     [not found] <a0vili$oga$1@wanadoo.fr>
2002-01-03 15:47 ` M. A. Alves
2002-01-10 13:00 ` Charles Fr. Rey
2002-01-11  1:55   ` Jeffrey Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox