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,36b2e8ae79f7dadd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: OpenToken version 3.1 preview References: From: Stephen Leake Date: Wed, 22 Jul 2009 21:41:09 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:H0V9OeyuMZTS6XBFdhQhW8WVigI= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 2e33c4a67bfa9e197caa719203 Xref: g2news2.google.com comp.lang.ada:7285 Date: 2009-07-22T21:41:09-04:00 List-Id: AdaMagica writes: > There is a problem with Bracketed_Comment. If it extends over more > than one line, the token is correctly recognized, but the lexeme > fails. The line feed characters are dropped from the lexeme, on Windows. > You can take the Bracketed_Comment_Test in directory Test to verify > the wrong behaviour. I've added a test that shows the problem. I don't suppose you have an idea of how to fix it? It will be interesting to figure out how to make that test portable between Windows and Gnu/Linux. The easiest way to identify which line ending to use that I know of is to look at GNAT.Directory_Operations.Dir_Separator; it's '\' for CR LF, '/' for LF. Don't know how to deal with Mac! The Ada standard intended System.Name to deal with this, but in GNAT that's always SYSTEM_NAME_GNAT, so that's no help. Anyone have a better idea? >> If someone could provide dates for the previous OpenToken releases, >> that would be fun. > > These should be on Ted Dennisons's site. If you mean http://www.telepath.com/~dennison/Ted/OpenToken/OpenToken.html, there are a couple of dates there, thanks: 8/13/00 - Version 3.0b is now available. 1/27/00 - Version 2.0 is now available. -- -- Stephe