On Sep 29, 2008, at 12:25 AM, David Pearce wrote: > Now, if I use some boiler plate code to create a lexer/parser (see end > of email), and then fire the following input into it "(())", I get the > following error: > >> org.antlr.runtime.tree.RewriteEmptyStreamException: rule listBody > > The reason is that the empty production has no rewrite. However, in > ANTLR 3.0.1, this error did not happen. > > So, my question is: is this is a bug, or intentional behaviour? I
hi! It is proper behavior; if there is no listBody then list must indicate there is an error. Ter List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
