It should be possible to define any sort of grammer with JavaCC. Perhaps the root production does not have the proper terminators to single the end of a selector?
--jason Hiram Chirino wrote: > To all JavaCC Gurus, > > The javacc grammar that JBossMQ is using has a problem. It can't > detect that the selector: "definitely not a message selector!" is an > invalid selector. It just parses the first itentifier, "definitely" > and then skips over the rest of the selector. > > Is there an easy way for javacc to pick up that there are some excess > tokens and spit out an error??? > > Regards, > Hiram > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp. > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development