On Feb 16, 2010, at 11:11 AM, Marcin Rzeźnicki wrote:
>
>
> 2010/2/16 Terence Parr <[email protected]>
> The key to your question was:
>
> "and it occurred to me that ANTLR does not really inspect follow set, it
> seems to inspect only what's left in the rule itself."
>
> That improvement/bug is what I intend to fix :) Actually, ANTLR v4 lexers
> will just plain work better (i.e., more like what you expect) ;)
>
>
> Well, yes, right, that would be really nice (by the way, when is this new
> release coming?),
not sure. i'm focusing on error handlng first then will do the meat. Almost
done with error handling.
> but when I am thinking of this; it would not really save the day in my case
> as follow set of LineSequence is actually { '}' , ']' } and what I need is
> loop escaping dependent on previous match, so some constrained context
> passing would be nice.
try predicates. :)
Ter
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.