[antlr-interest] another lookahead issue with TokenStreamRewriteEngine
Terence Parr
parrt at cs.usfca.edu
Mon Mar 22 11:40:16 PST 2004
On Feb 5, 2004, at 9:29 AM, SainTiss wrote:
Hi Hans,
> PS Terence: there are a couple of minor bugs in the
> TokenStreamRewriteEngine
> as well:
> 1) In a couple of places, "programName" should be passed on to the
> addToSortedRewriteList, but isn't... (e.g. in public void
> replace(String
> programName, Token from, Token to, String text))
> 2) A delete operation should be defined as replace with text "", not
> text
> null, because the latter will put the characters n-u-l-l in the
> string...
I think these are fixed in the version supplied with 2.7.3 that I just
released! :)
Terence
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list