I have been having some difficulties getting a rule which looks somewhat as
follows to work with ANTLR 3.1.3 and the C runtime. I am not sure if I am
passing the parameter in question correctly. The rule is as follows-
exp : p=primary (selector[p])*
;
The error I am getting is this:
lpcParser.c: In function ‘void synpred23_lpc_fragment(lpcParser_Ctx_struct*)’:
lpcParser.c:10684: error: ‘p’ was not declared in this scope
Thanks in advance,
Carter.
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
-~----------~----~----~----~------~----~------~--~---