This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Cygwin 1.3.8: bison failed with new dll version
- From: Benoit Perrin <benoit dot perrin at windriver dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 21 Jan 2002 18:22:07 +0100
- Subject: Cygwin 1.3.8: bison failed with new dll version
- Organization: Wind River Systems
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/