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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,74d953d10520ed5e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-29 16:21:11 PST Message-ID: <3ED6957F.9405D316@somewhere.nil> Date: Fri, 30 May 2003 01:19:27 +0200 From: Gautier Write-only X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: using charles library References: <3ED2EB15.7B74D21E@somewhere.nil> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.218.95.41 X-Trace: news.swissonline.ch 1054250453 80.218.95.41 (30 May 2003 01:20:53 +0200) X-Complaints-To: abuse@swissonline.ch Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!news.imp.ch!news.imp.ch!news-zh.switch.ch!news.swissonline.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:38024 Date: 2003-05-30T01:19:27+02:00 List-Id: Roman V. Isaev: [reply 2] > p2ada also breaks on things like this: bih:=1.e-5; Okay, I gave a quick try in Pascal.l, replacing {DIGIT}+({PERIOD}{DIGIT}+)?("E"({PLUS}|-)?{DIGIT}+)? {return CONSTANT_t;} by {DIGIT}+({PERIOD}{DIGIT}*)?("E"({PLUS}|-)?{DIGIT}+)? {return CONSTANT_t;} It works for the numbers, but as usual the engine breaks on another thing, here it is: "1..10" 8-( ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!