[antlr-interest] One question about MismatchedSetException

Hub Dog hubdog at gmail.com
Sat Sep 1 08:16:17 PDT 2007


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?

       Thanks in advance

best regards
ma lifang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070902/70716f0f/attachment.html 


More information about the antlr-interest mailing list