From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5afe598156615c8b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!news.germany.com!newsfeed.thomas-huehn.de!news.thomas-huehn.de!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn?= Persson Subject: Re: Get_Line problem (GNAT bug?) Newsgroups: comp.lang.ada References: <1c1gbc5u9cpvp.1wj1zhhn7q86j$.dlg@40tude.net> <1165448434.402232.125780@n67g2000cwd.googlegroups.com> <0SIdh.25629$E02.10458@newsb.telia.net> <1165453781.897598.296940@16g2000cwy.googlegroups.com> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit Message-ID: Date: Thu, 07 Dec 2006 01:28:00 GMT NNTP-Posting-Host: 83.250.96.174 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1165454880 83.250.96.174 (Thu, 07 Dec 2006 02:28:00 CET) NNTP-Posting-Date: Thu, 07 Dec 2006 02:28:00 CET Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:7837 Date: 2006-12-07T01:28:00+00:00 List-Id: Adam Beneschan wrote: > Bj�rn Persson wrote: >> Adam Beneschan wrote: >> > After the >> > first Get_Line has consumed the characters M a c i e k , then, when >> > End_Of_Line looks ahead and sees that the next character is , it >> > should be able to return False immediately without needing to look >> > ahead to see whether 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." > > I meant to type End_Of_File. So did I. I didn't even notice your mistake, and what I quoted was the definition of End_Of_File. Oops! :-) -- Bj�rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu