Index: data/push.c =================================================================== RCS file: /sources/bison/bison/data/push.c,v retrieving revision 1.11 diff -u -r1.11 push.c --- data/push.c 8 Dec 2006 22:36:33 -0000 1.11 +++ data/push.c 11 Dec 2006 03:41:22 -0000 @@ -973,9 +973,9 @@ ]b4_c_function_decl([yypstate_init], [struct yypstate *], [[void], []])[ ]b4_c_function_decl([yypush_parse], [int], [[struct yypstate *yyps], [yyps]], - [[int yynchar], [yynchar]], - [[YYSTYPE *yynlval], [yynlval]] - b4_locations_if([,[[YYLTYPE *yynlloc], [yynlloc]]]))[ + [[const int yynchar], [yynchar]], + [[const YYSTYPE * const yynlval], [yynlval]] + b4_locations_if([,[[const YYLTYPE * const yynlloc], [yynlloc]]]))[ ])[ ]m4_divert_push([KILL])# ======================== M4 code. @@ -1085,8 +1085,8 @@ b4_push_if([ b4_c_function_def([yypush_parse], [int], [[struct yypstate *yyps], [yyps]], - [[int yynchar], [yynchar]], [[YYSTYPE *yynlval], [yynlval]] - b4_locations_if([,[[YYLTYPE *yynlloc], [yynlloc]]]))],[ + [[const int yynchar], [yynchar]], [[const YYSTYPE * const yynlval], [yynlval]] + b4_locations_if([,[[const YYLTYPE * const yynlloc], [yynlloc]]]))],[ #ifdef YYPARSE_PARAM b4_c_function_def([yyparse], [int], [[void *YYPARSE_PARAM], [YYPARSE_PARAM]]) #else /* ! YYPARSE_PARAM */ @@ -1682,9 +1682,9 @@ ]b4_c_function_decl([]b4_prefix[pstate_init], [struct ]b4_prefix[pstate *], [[void], []])[ ]b4_c_function_decl([]b4_prefix[push_parse], [int], [[struct ]b4_prefix[pstate *]b4_prefix[pstate], []b4_prefix[pstate]], - [[int yynchar], [yynchar]], - [[YYSTYPE *yynlval], [yynlval]] - b4_locations_if([,[[YYLTYPE *yynlloc], [yynlloc]]]))[ + [[const int yynchar], [yynchar]], + [[const YYSTYPE * const yynlval], [yynlval]] + b4_locations_if([,[[const YYLTYPE * const yynlloc], [yynlloc]]]))[ enum { YYPUSH_MORE = 4 };])[ ]b4_pure_if([], [extern YYLTYPE b4_prefix[]lloc;])