From 7d27c823deae06e004cc3c55f843964e24f518a7 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 4 Dec 2001 14:10:51 +0000 Subject: [PATCH] * 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. --- ChangeLog | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3ee04192..5c0df688 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,10 @@ 2001-12-04 Paul Eggert - * 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. -- 2.50.0