2004-01-12 Marc Espie <espie@openbsd.org>
authorespie <espie@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jan 2004 22:51:02 +0000 (22:51 +0000)
committerespie <espie@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jan 2004 22:51:02 +0000 (22:51 +0000)
* system.h: handle YYBYACC like YYBISON.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75764 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/system.h

index 6d15e31..0160a72 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 10d7606..5acbff7 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