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:
Marc Espie 2004-01-12 22:51:02 +00:00 committed by Marc Espie
parent 25ebb82a64
commit f92ed97628
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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