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]

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/


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