classical error but unresolved "syntax error at end of input"

2005-08-09 Thread DEBUF Xavier
the result of the grammar file (*.y) compilation give me this error: "syntax error at end of input" I Know this is not really important but i don't find it and I can't test my grammar file I give you the code (begin and end of it) A warning appear to indicate that yyerror has been declared on im

[help-bison]How to stock information?

2005-07-19 Thread DEBUF Xavier
Hello, i'm using Bison for compute a mathematic tool to resolve this kind of thing: u(n)=u(n-1)+3*u(n-2);u{0}=1;u{1}=2; the example is very simple and this tools can do more things So the subject: when I execute bison It builds a syntaxical tree (doesn't it?) how recover number (they could cha