[antlr-interest] Filtering peer nodes in a tree
Terence Parr
parrt at cs.usfca.edu
Sun Jul 19 09:40:30 PDT 2009
that is meant to work...i have some debugging to do it looks like in
the patternmatching with .* :(
T
On Jul 19, 2009, at 1:41 AM, J. Stephen Riley Silber wrote:
>
> > I tried using a rule like ^( BLOCK .* ASSIGN ASSIGN .* ), but that
> didn't seem to work.
>
> I've recently discovered that .* on the end doesn't seem to work too
> well. I think I tried .+ or was it .* followed by UP...no, i think
> it was ~UP*. I need to fix this.
> Ter
> I just tried all of those, to no avail. Is this a legit bug? Am I
> on the right track for trying to detect similar siblings?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090719/4887f160/attachment.html
More information about the antlr-interest
mailing list