From: Paul Eggert Date: Tue, 4 Dec 2001 14:06:43 +0000 (+0000) Subject: * src/bison.simple (union yyalloc): Change member names X-Git-Tag: BISON-1_30f~38 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/cc904af579e0555617b3ddb1f2166e05debdd6e7 * 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. --- diff --git a/ChangeLog b/ChangeLog index 4f0523ed..1a7be67b 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.