bug-bison
[Top][All Lists]
Advanced

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

Bug bison 1.29c


From: Airy ANDRE
Subject: Bug bison 1.29c
Date: 10 Oct 2001 14:47:04 +0200

 I think there is a bug in bison 1.29c (and previous) when you try not to use 
"alloca" in bison.simple, by defining
YYSTACK_USE_ALLOCA to 0 (I have to do so to be able to compile bison generated 
files on HP-UX
systems using C++ old CC compiler (aCC is fine)).

  I think the test line 419 should be :
 # if !defined(YYSTACK_USE_ALLOCA) || (YYSTACK_USE_ALLOC == 0)
instead of :
 # ifndef YYSTACK_USE_ALLOCA

  Without this mod, the allocated blocks are not freed.

  Regards,

  Airy André
address@hidden



reply via email to

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