mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/push.c (yypush_parse): Declare prototype regardless of
%locations option.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-12-14 Bob Rossi <bob@brasko.net>
|
||||
|
||||
* data/push.c (yypush_parse): Declare prototype regardless of
|
||||
%locations option.
|
||||
|
||||
2006-12-14 Bob Rossi <bob@brasko.net>
|
||||
|
||||
* data/push.c (yyparse): Remove the prototype and the #define when in
|
||||
|
||||
@@ -1685,6 +1685,10 @@ typedef struct YYLTYPE
|
||||
# define YYLTYPE_IS_TRIVIAL 1
|
||||
#endif
|
||||
|
||||
]b4_pure_if([],
|
||||
[extern YYLTYPE b4_prefix[]lloc;])
|
||||
)dnl b4_locations_if
|
||||
|
||||
]b4_push_if([struct ]b4_prefix[pstate;
|
||||
]b4_c_function_decl([]b4_prefix[pstate_new], [struct ]b4_prefix[pstate *],
|
||||
[[void], []])[
|
||||
@@ -1696,9 +1700,6 @@ typedef struct YYLTYPE
|
||||
[[YYSTYPE const *yynlval], [yynlval]]
|
||||
b4_locations_if([,[[YYLTYPE const *yynlloc], [yynlloc]]]))[
|
||||
enum { YYPUSH_MORE = 4 };])[
|
||||
]b4_pure_if([],
|
||||
[extern YYLTYPE b4_prefix[]lloc;])
|
||||
)dnl b4_locations_if
|
||||
|
||||
m4_ifdef([b4_provides],
|
||||
[[/* Copy the %provides blocks. */
|
||||
|
||||
Reference in New Issue
Block a user