[antlr-interest] Trouble with outdated? c language target?
funkyworklehead at gmail.com
funkyworklehead at gmail.com
Thu Jan 29 06:57:01 PST 2009
I'm getting an error when trying to build a generated lexer and parser
where the target language is C. I'm trying to use this example
http://www.antlr.org/api/C/buildrec.html , but it seems that the
example is out of date. I'm getting this error:
file_loader.c:49: error: 'struct ANTLR3_LEXER_struct' has no member
named 'tokSource'
I'm using libantlr3c-3.1b2.tar.gz and antlr-3.1.1.tar.gz.
Does someone have some working skeleton code for the C target language?
More information about the antlr-interest
mailing list