> You're correct, Peter, it is not limited to only method calls. I don't > think parameter passing will work, since the enclosed statement block > is not part of the withStatement rule.
There's your problem..the enclosed block needs to be part of the withStatement rule I would say (how else would you decide when the object in the with statement goes out of scope?). Once you bring the enclosed block into the rule, you will be able to reference the enclosing withStatement rule scope. 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.
