[antlr-interest] bugs fixed today

Terence Parr parrt at jguru.com
Sat Jan 5 15:36:14 PST 2002


A couple of nasty bugs that took a long time to track and evaluate/fix.

My remaining items for 2.7.2 final looks like:

o check char io stream exceptions are wrapped properly in 
TokenStreamException's.
o possibly add static bitset init optimization (don't init 0L values).
o possibly modify antlr to allow recent suggestions for eclipse 
integration.

Anything else burning a hole in somebody's head?

BTW, has anybody tested the antlr.jar (runtime) file to see if it is 
sufficient (especially when errors are caught in your parsers)?

Ter
-------------------------------------------------------
01-05-2002:

*** removed Sather support at the request of the supporter.

*** add warning/error.  Bad code gen with ^ or ! on tree root
when building trees in a tree walker grammar such as:

expr:   #(PLUS^ expr expr)
     |   i:INT
     ;

Fortunately, ^ is simply redundant; removing it makes code ok.
Added a warning.  Added an error message for ! saying that it
is not implemented.

*** bug fix: incorrect code generation for #(. BLORT) in
tree walker grammar.  Didn't properly handle the wildcard
root (missing _t==null check).

--
Chief Scientist & Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list