At 02:30 14/09/2009, Eugene Toder wrote:
 >I've found an issue with interpreter where it doesn't consume 
the
 >second alternative in (a | b)* expression. In a simple example
 >this leads to incomplete parse tree, in more complex cases this
 >leads to NoViableAltException.
 >In all cases the grammar works as expected in the debugger.

In my experience the interpreter is generally flaky anyway (and of 
course it doesn't process semantic predicates).  It's usually best 
to just pretend that it doesn't exist and always use the debugger 
instead.


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to