[antlr-interest] ParseTreeBuilder broken in decisions (with fix)

Terence Parr parrt at cs.usfca.edu
Tue May 20 11:44:16 PDT 2008


hi. damn good question.  I think because the parse tree builder  
ignores errors ;) and recovers.
Ter
On May 20, 2008, at 11:14 AM, Adrian Sandor wrote:

> Terence Parr writes:
>
>> thanks,Martin, adding bug
>>
>> http://www.antlr.org:8888/browse/ANTLR-267
>
> Hi Terence,
>
> What about the first question in my original message?
> Specifically, why does the grammar at
> http://www.antlr.org/wiki/pages/viewpage.action?pageId=1760 accept a  
> statement
> ending in a semicolon? ("i=4;")
>
> Thanks
> Adrian
>



More information about the antlr-interest mailing list