[antlr-interest] help with CPP generated files
Murat Atalay
atalay at udel.edu
Wed Jul 11 11:19:25 PDT 2012
Hi Everyone,
I am generating C files with ANTLRworks, but I have some CPP code inside my
grammar. After I generate my C output. I go back and change the .c files to
.cpp files and I have to go to header files and comment out "extern "C" {
..}" in order my CPP files to compile.
I am using visual studio 2010 express and I added the grammar files to
command line. So, it pre-builds it for me. But I have a problem with that
extern "C". I was wondering if I can add something to command line to get
rid of that or is there another options that I can do to comment it out.
Thanks,
Murat
More information about the antlr-interest
mailing list