[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison-1.29d alloca & free bug

From: Hans Aberg
Subject: Re: bison-1.29d alloca & free bug
Date: Wed, 24 Oct 2001 17:02:25 +0200

At 17:35 +0200 2001/10/18, Akim Demaille wrote:
>>>>>> "Hans" == Hans Aberg <address@hidden> writes:
>Hans> Hoewver, when upgrading, I did not add the last one, as I worked
>Hans> with alloca, which caused the problem to occur.
>Hi Hans, thanks for the report.  I think that now the code is properly
>triggered when needed.  Could you check it works for you?

I am not sure what you mean here: bison.simple of 1.29f is the same as in

>The goal is really to focus on the trunk now, and I'm fixing only new
>bugs.  Older bugs, present in 1.28, are no longer a show stopper for

It may be easier to fix it when C++ is brought into the picture.

The part in bison.simple starting with "#ifndef YYSTACK_USE_ALLOCA" looks
messy and even wrong and should be changed. For example, one would expect
that if YYSTACK_USE_ALLOCA is not defined, then alloca is not used, but it
starts with
  # ifdef alloca
So that if <alloca.h> has been included somewhere, one gets alloca anyway.

  Hans Aberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]