]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
system.h: handle YYBYACC like YYBISON.
authorMarc Espie <espie@openbsd.org>
Mon, 12 Jan 2004 22:54:20 +0000 (22:54 +0000)
committerMarc Espie <espie@gcc.gnu.org>
Mon, 12 Jan 2004 22:54:20 +0000 (22:54 +0000)
2004-01-12  Marc Espie <espie@openbsd.org>

* system.h: handle YYBYACC like YYBISON.

From-SVN: r75765

gcc/ChangeLog
gcc/system.h

index 3bf6d82ce6b042aca57f853e0ba42355bb07df66..5c8efb3f7ea01bf345a26e51d2389f8ac80b8fb0 100644 (file)
@@ -1,3 +1,7 @@
+2004-01-12  Marc Espie <espie@openbsd.org>
+
+       * system.h: handle YYBYACC like YYBISON.
+
 2004-01-12  Matthias Klose  <doko@debian.org>
 
         Backport from mainline
index c9598ab0580ad7cc0d8aafb460e3abafe3969048..654c85fe30b045d47a928525e5dfa2d6442f16db 100644 (file)
@@ -584,7 +584,7 @@ typedef char _Bool;
 #undef strdup
  #pragma GCC poison calloc strdup
 
-#if defined(FLEX_SCANNER) || defined (YYBISON)
+#if defined(FLEX_SCANNER) || defined (YYBISON) || defined(YYBYACC)
 /* Flex and bison use malloc and realloc.  Yuk.  */
 #define malloc xmalloc
 #define realloc xrealloc