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: a07f3367d7,c689b55786a9f2bd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Tue, 11 May 2010 11:49:37 +0200 Organization: Adalog Message-ID: References: <4be417b4$0$6992$9b4e6d93@newsspool4.arcor-online.net> <1qcb6z4i20dyb.1dz2hd4c0vx69.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 11 May 2010 09:49:42 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="Dn22F68J9CHYFQQlT81DGA"; logging-data="30445"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190M8vHf3QvcBHWixbeyvuS" User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) In-Reply-To: Cancel-Lock: sha1:4npZt8j8IlG4yVYWoPvawgBlJjg= Xref: g2news2.google.com comp.lang.ada:11489 Date: 2010-05-11T11:49:37+02:00 List-Id: Dmitry A. Kazakov a �crit : > On Mon, 10 May 2010 18:50:02 +0000 (UTC), Warren wrote: > >> But you have no way to know when you've read >> a empty line in a lexer routine that is reading >> character by character. > Come on, here is the magic function: function Empty_Line return Boolean is begin return Col=1 and End_Of_Line; end Empty_Line; -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr