Index: data/push.c =================================================================== RCS file: /sources/bison/bison/data/push.c,v retrieving revision 1.9 diff -u -r1.9 push.c --- data/push.c 7 Dec 2006 02:21:13 -0000 1.9 +++ data/push.c 7 Dec 2006 16:21:30 -0000 @@ -970,7 +970,7 @@ ]b4_push_if([ struct yypvars; enum { YYPUSH_MORE = 4 }; -]b4_c_function_decl([yypvarsinit], [void *], [[void], []])[ +]b4_c_function_decl([yypvarsinit], [struct yypvars *], [[void], []])[ ]b4_c_function_decl([yypushparse], [int], [[struct yypvars *yypvars], [yypvars]], [[int yynchar], [yynchar]], @@ -1048,7 +1048,7 @@ }; /* Initialize the parser data structure. */ -void * +struct yypvars* yypvarsinit (void) { struct yypvars *pv = (struct yypvars *) malloc (sizeof *pv); @@ -1056,6 +1056,7 @@ pv->yyresult = -1; pv->yyerrstatus = 0; pv->yytoken = 0; + pv->yylen = 0; pv->yyss = pv->yyssa; pv->yyvs = pv->yyvsa; @@ -1071,7 +1072,7 @@ ]b4_locations_if([ pv->yylsp = pv->yyls;])[ - return (void *) pv; + return pv; }]) m4_divert_pop([KILL])dnl# ====================== End of M4 code.