[antlr-interest] SimpleCalc C Target example does not compile
HG
himanshu.garg at gmail.com
Sat Feb 2 07:59:08 PST 2008
Compiling the example given in
http://www.antlr.org/wiki/display/ANTLR3/Using+the+ANTLR3+C+Target
simplecalcparser.c
simplecalcparser.c(283) : error C2065: 'pSimpleCalcLexer' : undeclared
identifier
due to the following lines in the same file:-
pSimpleCalcLexer lex = SimpleCalcLexerNew(input);
but pSimpleCalcLexer is not defined/declared in either SimpleCalcParser.c or
in the included files.
Should this compile at all?
Thank You,
Himanshu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080202/a8e2456b/attachment.html
More information about the antlr-interest
mailing list