[antlr-interest] ANTLR V3, ANTLRWorks and C/C++ Target
Martin Kortmann
email at kortmann.de
Wed Aug 8 07:59:23 PDT 2007
Johannes Luber schrieb:
> Martin Kortmann wrote:
>> Adding the -debug option in ANTLRWors brings the message
>> "Cannot create Grammar: template outputFile has no region
>> called imports", ANTLR native also, and there are Java
>> fragments inside the C-Source.
>>
>> Martin
>>
>
> I believe you have to use the command line version of ANTLR, not via
> ANTLRworks.
D:\Martins\Entwicklung\test_antlr>java -cp
antlr-3.0.jar;antlr-runtime-3.0.jar;stringtemplate-3.0.j
ar;antlr-2.7.7.jar org.antlr.Tool -debug -o outdir test.g
ANTLR Parser Generator Version 3.0 (May 17, 2007) 1989-2007
error(10): internal error: group CDbg line 33: template outputFile has
no region called imports
error(10): internal error: group CDbg line 78: template genericParser
has no region called superClassName
error(10): internal error: group CDbg line 160: template dfaState has
no region called noViableAltException
error(10): internal error: group CDbg line 162: template dfaStateSwitch
has no region called noViableAltException
D:\Martins\Entwicklung\test_antlr>
Thank you, the same problem
Martin
More information about the antlr-interest
mailing list