system.h: handle YYBYACC like YYBISON.
authorMarc Espie <espie@openbsd.org>
Mon, 12 Jan 2004 22:51:02 +0000 (22:51 +0000)
committerMarc Espie <espie@gcc.gnu.org>
Mon, 12 Jan 2004 22:51:02 +0000 (22:51 +0000)
2004-01-12  Marc Espie <espie@openbsd.org>

* system.h: handle YYBYACC like YYBISON.

From-SVN: r75764

gcc/ChangeLog
gcc/system.h

index 6d15e313d38f82e24b9ae8317fa57f133e822cd3..0160a729e3ce0f8d17b812767df12b7520c287c6 100644 (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
index 10d7606ea9b5610fc14bc8b53a0610725b044251..5acbff78e7277d19ccb076bd188e68f55000a90c 100644 (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