Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Stephano Mariani" <sk.ml@btinternet.com>
To: "'Fractal A.'" <fractala@yahoo.com>,
   "'Randall R Schulz'" <rrschulz@cris.com>, <cygwin@cygwin.com>
Cc: <cygwin@cygwin.com>
Subject: RE: Bison 1.30
Date: Thu, 27 Dec 2001 10:38:57 -0000
Message-ID: <006001c18ec2$b4f99660$3400a8c0@sknet01>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 1 (Highest)
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook, Build 10.0.2616
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: High
In-Reply-To: <20011227101825.51666.qmail@web12201.mail.yahoo.com>

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/

