[antlr-interest] getting C++ to work
Chris verBurg
cheetomonster at gmail.com
Tue Apr 27 17:00:14 PDT 2010
Hey guys,
I'm trying to get Antlr to generate a parser in C++, but I'm not having much
luck:
grammar MyParser;
options {
language="Cpp";
}
generates:
error(100): src/MyParser.g:3:14: syntax error: antlr:
src/MyfParser.g:3:14: unexpected token: "Cpp"
"C++" doesn't work either, though "C" does.
I'm using Antlr 3.2 and java 1.5.0_05, on linux.
Any ideas?
Thanks!!
-Chris
More information about the antlr-interest
mailing list