| 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 |
| Message-ID: | <3C4C4E3F.A13D603F@windriver.com> |
| Date: | Mon, 21 Jan 2002 18:22:07 +0100 |
| From: | Benoit Perrin <benoit DOT perrin AT windriver DOT com> |
| Organization: | Wind River Systems |
| X-Mailer: | Mozilla 4.78 [en] (WinNT; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Cygwin 1.3.8: bison failed with new dll version |
Hello,
as a "me too" mail, I noted that bison core dumped with this yacc file:
<--->
%{
%}
%token <val> NUMBER
%token <str> WORD
%type <str> rule
%type <val> signed_number
%%
rule:
WORD = { $$ = $1; } |
/* empty */ = { $$ = NULL; };
signed_number:
NUMBER = { $$ = $1; } |
'-' NUMBER = { $$ = -$2; };
%%
<--->
bison failed only for a command line with the -d option like:
bison -y -d <file>.y
The segmentation fault occured in a malloc, with a desired size of 8 in
my case.
Hope this helps.
Benoit
--
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 |