system.h: handle YYBYACC like YYBISON.
2004-01-12 Marc Espie <espie@openbsd.org> * system.h: handle YYBYACC like YYBISON. From-SVN: r75764
This commit is contained in:
parent
25ebb82a64
commit
f92ed97628
|
@ -1,3 +1,7 @@
|
|||
2004-01-12 Marc Espie <espie@openbsd.org>
|
||||
|
||||
* system.h: handle YYBYACC like YYBISON.
|
||||
|
||||
2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
|
||||
|
||||
PR target/10847
|
||||
|
|
|
@ -553,7 +553,7 @@ typedef char _Bool;
|
|||
#define really_call_calloc calloc
|
||||
#define really_call_realloc realloc
|
||||
|
||||
#if defined(FLEX_SCANNER) || defined(YYBISON)
|
||||
#if defined(FLEX_SCANNER) || defined(YYBISON) || defined(YYBYACC)
|
||||
/* Flex and bison use malloc and realloc. Yuk. Note that this means
|
||||
really_call_* cannot be used in a .l or .y file. */
|
||||
#define malloc xmalloc
|
||||
|
|
Loading…
Reference in New Issue