Okay, another question:
On the page "How to build Generated C Code":
http://www.antlr.org/api/C/buildrec.html
the example code uses the pre-3.1 API; for instance,
lxr->pLexer->tokSource instead of the TOKENSOURCE macro.
I solved that one, but I'm getting another compile error when I try to
build it for my grammar:
if (psr->pParser->rec->errorCount > 0) {
produces
'errorCount' : is not a member of 'ANTLR3_BASE_RECOGNIZER_struct'
I did some searching and came across this thread:
http://www.antlr.org/pipermail/antlr-interest/2009-September/035916.html
but that only had the resolution to the token source, not the error count.
I downloaded the examples like was suggested in Jim Idle's reply, but I
looked in a couple directories with example code and didn't see any that
actually checked for errors.
Evan
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.