From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: Get_Line problem (GNAT bug?)
Date: Thu, 07 Dec 2006 00:02:04 GMT
Date: 2006-12-07T00:02:04+00:00 [thread overview]
Message-ID: <0SIdh.25629$E02.10458@newsb.telia.net> (raw)
In-Reply-To: 1165448434.402232.125780@n67g2000cwd.googlegroups.com
Adam Beneschan wrote:
> After the
> first Get_Line has consumed the characters M a c i e k <CR>, then, when
> End_Of_Line looks ahead and sees that the next character is <CR>, it
> should be able to return False immediately without needing to look
> ahead to see whether <CR> is immediately followed by EOF. And I don't
> see why this wouldn't apply to an interactive file as well.
I agree that that's how it should be, but it's not how End_Of_Line is
defined: "Returns True if a file terminator is next, or if the combination
of a line, a page, and a file terminator is next; otherwise returns False."
--
Bj�rn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
next prev parent reply other threads:[~2006-12-07 0:02 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-06 14:25 Get_Line problem (GNAT bug?) Maciej Sobczak
2006-12-06 18:06 ` Adam Beneschan
2006-12-06 20:34 ` Gautier
2006-12-06 21:47 ` Dmitry A. Kazakov
2006-12-06 23:40 ` Adam Beneschan
2006-12-07 0:02 ` Björn Persson [this message]
2006-12-07 1:09 ` Adam Beneschan
2006-12-07 1:28 ` Björn Persson
2006-12-07 5:00 ` Jeffrey R. Carter
2006-12-07 8:26 ` Maciej Sobczak
2006-12-07 9:21 ` Jean-Pierre Rosen
2006-12-07 13:35 ` Ludovic Brenta
2006-12-07 22:23 ` Robert A Duff
2006-12-07 10:22 ` Dmitry A. Kazakov
2006-12-07 14:51 ` Maciej Sobczak
2006-12-07 16:29 ` Dmitry A. Kazakov
2006-12-08 8:22 ` Maciej Sobczak
2006-12-07 22:50 ` Robert A Duff
2006-12-08 0:13 ` Randy Brukardt
2006-12-08 4:04 ` Larry Kilgallen
2006-12-08 9:11 ` Dmitry A. Kazakov
2006-12-07 9:14 ` Jean-Pierre Rosen
2006-12-07 3:34 ` Steve
2006-12-07 17:42 ` Adam Beneschan
2006-12-07 22:35 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox