[antlr-interest] Global Dynamic Scope
Jim Idle
jimi at temporal-wave.com
Tue Nov 10 08:48:07 PST 2009
Do you have a small(ish) reproducible example?
Jim
From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Claude Moulin
Sent: Tuesday, November 10, 2009 1:47 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Global Dynamic Scope
Hello,
I get a strange error using global scope. I use antlr 3.2.
In a tree grammar I define a global scope << pilep >> with several attributes including one called binit.
I get several times strange error messages like:
unknown dynamically-scoped attribute for scope pilep: binit
It seems that sometimes antlr doesn't succeed to translate $pilep::binit into ((pilep_scope)pilep_stack.peek()).binit
As it does with other scope attributes.
I don't understand the reason.
Any idea ?
Thanks,
Claude
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091110/32646d7c/attachment.html
More information about the antlr-interest
mailing list