]> git.saurik.com Git - bison.git/commitdiff
* src/bison.simple (union yyalloc): Change member names
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 4 Dec 2001 14:06:43 +0000 (14:06 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 4 Dec 2001 14:06:43 +0000 (14:06 +0000)
to be the same as the stack names.
(yyparse): yyptr is now union yyalloc *, not char *.
(YYSTACK_RELOCATE): Likewise.  This avoids a GCC warning,
and may generate better code on some machines.

ChangeLog

index 4f0523ed8ba63b386c5b27d68389481c06f21427..1a7be67b6ac41d9ca6dea943adbf6a8efbd986c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
 2001-12-04  Paul Eggert  <eggert@twinsun.com>
 
-       * src/bison.simple (YYPOINTER): New macro.
-       (YYSTACK_RELOCATE): Use it to avoid a GCC warning.
+       * src/bison.simple (union yyalloc): Change member names
+       to be the same as the stack names.
+       (yyparse): yyptr is now union yyalloc *, not char *.
+       (YYSTACK_RELOCATE): Likewise.  This avoids a GCC warning,
+       and may generate better code on some machines.
        (yystpcpy): Use prototype if __STDC__ is defined, not just
        if __cplusplus is defined.