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,1f96acbbf1e7e66a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Newsgroups: comp.lang.ada Subject: Re: lexical ambiguity From: Georg Bauhaus In-Reply-To: References: <1nozvv83n7lhc.1b3qf0olmyllp$.dlg@40tude.net> <9M_gg.1598$O5.554@llslave.llan.ll.mit.edu> <1149590366.8521.5.camel@localhost> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-ID: <1149622908.8521.19.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Tue, 06 Jun 2006 21:41:48 +0200 NNTP-Posting-Date: 06 Jun 2006 21:41:25 MEST NNTP-Posting-Host: 9f4c43b6.newsread4.arcor-online.net X-Trace: DXC=j3W6_Ymo\GNL0\Y_Wg[Z[N:ejgIfPPldDjW\KbG]kaMH]kI_X=5KeaF[mSE70WE6fJUUng9_FXZ=C>:=P9Ihe`BH@Z?dZ]MOidE X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:4701 Date: 2006-06-06T21:41:25+02:00 List-Id: On Tue, 2006-06-06 at 18:56 +0000, Peter C. Chapin wrote: > Georg Bauhaus wrote in > news:1149590366.8521.5.camel@localhost: > > > if'('="-"("="('='=',',','=',')) > > Now *that* is evil. :-) ;) When it came to the tick mark in ASnip's tokenizer, I had to consider the case when there isn't a token at which to look back (a source snippet might well start with 'x'). So the solution isn't perfect. I should add another piece of history, for better classing of tokens where possible. -- Georg