| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| 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> |
| Subject: | RE: Bison 1.30 |
| Date: | Thu, 27 Dec 2001 10:38:57 -0000 |
| Message-ID: | <006001c18ec2$b4f99660$3400a8c0@sknet01> |
| MIME-Version: | 1.0 |
| 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 AT yahoo DOT com]
Sent: Thursday, 27 December 2001 10:18
To: Stephano Mariani; 'Randall R Schulz'; cygwin AT cygwin DOT com
Cc: cygwin AT cygwin DOT 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 AT yahoo DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |