[antlr-interest] One question about MismatchedSetException

Terence Parr parrt at cs.usfca.edu
Sat Sep 1 08:48:30 PDT 2007


On Sep 1, 2007, at 8:16 AM, Hub Dog wrote:

> Dear friends.
>
>           I just found a problem in source generated by antlr 3 .  
> Antlr 3 generates MismatchedSetException construtor source as  
> following
> style:
>          mse =   new MismatchedSetException(null,input);
>  The expecting bitset parameter passed to MismatchedSetException  
> constructor was always null. That means I can not get error message  
> from expecting bitset. In antlr2  I can get error message such as  
> "expecting one of ('a', 'b', ....), found 'd'", but now I can only  
> get error message such as "mismatched input abc expecting set null".
>
>        Is the MismatchedSetException constructor part still under  
> development or I missed something?
>

Hi. known issue. I think i have a bug logged already. sorry.
Ter



More information about the antlr-interest mailing list