Richard Thrippleton wrote:
> With rules of the form
>
> "rulename
> scope {}
> ..."
>
> the generated code for that rule will attempt to push and pop the 
> rulename scope stack, but the Push, Pop and Top members have not been 
> defined.
>
> (fwiw, empty scopes are actually useful in the grammars I'm building :-) )
>   
Sorry, but empty scopes are not supported. Just do this:

scope
{
   int placeHolder;
}


Jim

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to