The *only* solution is: Add #include <stdio.h> #include <stdlib.h> Into the %{ %} Section
And add void yyerror(char*s) { printf("%s",s); } After the final %% Then see if you get the same. If so send me a copy of the output from the compiler and bison. Stephano PS: bison is not a compiler. In your case g++ is. Bison Is a parser generator. -----Original Message----- From: Fractal A. [mailto:[EMAIL PROTECTED]] Sent: Thursday, 27 December 2001 10:18 To: Stephano Mariani; 'Randall R Schulz'; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Bison 1.30 Thanks Stephano! I wondered about versions of Bison simply to rule out possible sources of error. You are right in that using Bison 1.30 did not make any difference. I'll try this solution next. Thanks again! ===== Fractal A. [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/