This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]