[antlr-interest] origin of <missing ID> node

Terence Parr parrt at cs.usfca.edu
Sat Jun 28 07:32:57 PDT 2008


Hi Felix, you can override a method in BaseRecognizer...a comment is  
in the code.
Ter
On Jun 7, 2008, at 12:09 AM, Felix Dorner wrote:

> Hi,
>
> in antlr 3.1b1 my tree adaptor I overwrite
>
>   @Override
>   public Object errorNode(TokenStream input, Token start, Token stop,
>           RecognitionException e){
>       return null;
>   }
>
> I anyway get sometimes <missing ID> nodes. Can I turn this off  
> somehow?
>
> Thanks,
> Felix



More information about the antlr-interest mailing list