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!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer1.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> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit Message-ID: <0SIdh.25629$E02.10458@newsb.telia.net> Date: Thu, 07 Dec 2006 00:02:04 GMT NNTP-Posting-Host: 83.250.96.174 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1165449724 83.250.96.174 (Thu, 07 Dec 2006 01:02:04 CET) NNTP-Posting-Date: Thu, 07 Dec 2006 01:02:04 CET Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:7833 Date: 2006-12-07T00:02:04+00:00 List-Id: 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." -- Bj�rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu