Posted By:
Dmitry_Lizorkin
Posted On:
Monday, September 24, 2007 07:31 AM
Hello! When attempting to specify options { language=CPP; } , I get the following errors: error(10): internal error: no such group file CPP.stg error(20): cannot find code generation templates CPP.stg However, there exists the "CPP.stg" file in the "src/org/antlr/codegen/templates/CPP" subfolder of ANTLR distribution. How should C++ be specified as a target language than? What search path is used for .stg files; can it be specified explicitly? Both Java and C work fine as target languages. Dmitry
More>>
Hello!
When attempting to specify
options
{
language=CPP;
}
, I get the following errors:
error(10): internal error: no such group file CPP.stg
error(20): cannot find code generation templates CPP.stg
However, there exists the "CPP.stg" file in the
"src/org/antlr/codegen/templates/CPP" subfolder of ANTLR distribution.
How should C++ be specified as a target language than? What search path is
used for .stg files; can it be specified explicitly?
Both Java and C work fine as target languages.
Dmitry
<<Less