Re: Bison and embedded systems

2005-04-26 Thread Hans Aberg
At 02:26 -0400 2005/04/26, Alfonso Urdaneta wrote: Paul Eggert wrote: If by "dynamic memory" you mean "malloc or alloca", then yes, it's easy: #define YYSTACK_ALLOC(size) 0 that _is_ easy. ;] Strictly speaking, one needs some additional information, fixing the initial parser stack size at a suita

Re: Bison and embedded systems

2005-04-25 Thread Alfonso Urdaneta
Paul Eggert wrote: If by "dynamic memory" you mean "malloc or alloca", then yes, it's easy: #define YYSTACK_ALLOC(size) 0 that _is_ easy. ;] -- alfonso e. urdaneta www.red82.com - are you ready ? ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listin

Re: Bison and embedded systems

2005-04-25 Thread Paul Eggert
At 11:29 +0200 2005/04/25, Julian Gryffin wrote: >Bison is using dynamic memory in the C-file it built. Is there a >possibility to prevent it using dynamic memory? If by "dynamic memory" you mean "malloc or alloca", then yes, it's easy: #define YYSTACK_ALLOC(size) 0

Re: Bison and embedded systems

2005-04-25 Thread Hans Aberg
At 11:29 +0200 2005/04/25, Julian Gryffin wrote: I need some help with Bison on embedded Systems. I have a ROM with only few memory. Bison is using dynamic memory in the C-file it built. Is there a possibility to prevent it using dynamic memory? My guess is that you do not use Bison on the embedded