Hello all,
i sent before regarding a bug in Control flow in which a e=. won't define e
, i was suggested by jim to walk tree my self using LT
now i have a problem , consider following
if_expr
:
^(EIF ^(EIF_COND c =expr_g) ^(EIF_THEN e=expr_g) ) { // examine c and
selectively jump to e }
must be changed to something like
if_expr
:
^(EIF ^(EIF_COND c =expr_g) { // examine c and selectively jump to e
} )
and we have a problem
how can we skip the whole EIF_THEN tree (when c is false ) ? , if we try to
use the stopIndex of EIF to jump to it's end
we have the problem that all returned indices ,by all means , don't take UP
& DOWN nodes into accout , where the SEEK macro
takes them into accout
any ideas ?
--
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].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address