This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Bison 1.30
- From: "Stephano Mariani" <sk dot ml at btinternet dot com>
- To: "'Fractal A.'" <fractala at yahoo dot com>,"'Randall R Schulz'" <rrschulz at cris dot com>,<cygwin at cygwin dot com>
- Cc: <cygwin at cygwin dot com>
- Date: Thu, 27 Dec 2001 10:38:57 -0000
- Subject: RE: Bison 1.30
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:fractala@yahoo.com]
Sent: Thursday, 27 December 2001 10:18
To: Stephano Mariani; 'Randall R Schulz'; cygwin@cygwin.com
Cc: cygwin@cygwin.com
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. fractala@yahoo.com
__________________________________________________
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/