mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
* 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.
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
2001-12-04 Paul Eggert <eggert@twinsun.com>
|
2001-12-04 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
* src/bison.simple (YYPOINTER): New macro.
|
* src/bison.simple (union yyalloc): Change member names
|
||||||
(YYSTACK_RELOCATE): Use it to avoid a GCC warning.
|
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
|
(yystpcpy): Use prototype if __STDC__ is defined, not just
|
||||||
if __cplusplus is defined.
|
if __cplusplus is defined.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user