[antlr-interest] Doubt Regarding TreeWalker Error!!
mark twain
himmy070 at gmail.com
Fri Aug 8 08:20:08 PDT 2008
Hi,
I was trying to run one of the example code <simplecTreeParser> and when I
execute the following command :
treePsr->program(treePsr);
I am getting the following error :
=================================
./input(1) : error 10 : Unexpected node, at offset 0, near <missing
<invalid>> : Missing <invalid>
./input(2) : error 10 : Unexpected node, at offset 0, near <missing
<invalid>> : Missing <invalid>
=================================
My input file is :
int x;
void bar(int x);
int foo(int y, char d) {
int i;
for (i=0; i<3; i=i+1) {
x=3;
y=5;
}
}
=========================================
I have not made any changes from example code and tried to run using C
runtime library(antlr-3.1b2).
Any pointers what I am missing.
Cheers:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080808/97852eff/attachment.html
More information about the antlr-interest
mailing list