[antlr-interest] Code generation in beta 6
Joseph Gentle
josephg at cse.unsw.edu.au
Thu Feb 22 21:43:07 PST 2007
Trying to compile code with the CSharp target in 3.0 beta 6 gets this
error for me:
ANTLR Parser Generator Version 3.0b6 (Jan 31, 2007) 1989-2007
error(10): internal error: group CSharp does not satisfy interface
ANTLRCore: missing templates [lexerRulePropertyRef_start,
lexerRulePropertyRef_stop]
error(10): internal error: group CSharp does not satisfy interface
ANTLRCore: mismatched arguments on these templates [outputFile(LEXER,
PARSER, TREE_PARSER, actionScope, actions, docComment, recognizer,
name, tokens, tokenNames, rules, cyclicDFAs, bitsets, buildTemplate,
buildAST, rewrite, profile, backtracking, synpreds, memoize,
numRules, fileName, ANTLRVersion, generatedTimestamp, trace, scopes,
superClass, literals), listLabel(label, elem)]
error(10): internal error: SimpleCalc.g :
java.util.NoSuchElementException: no such attribute: buildAST in
template context [outputFile]
It looks like the CSharp code generation hasn't been touched since
the code generation interface was changed recently....
-J
More information about the antlr-interest
mailing list