mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
* data/yacc.c, data/glr.c (b4_at_dollar, b4_dollar_dollar): Remove
the useless parentheses. Suggested by Paul Eggert.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2004-09-21 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* data/yacc.c, data/glr.c (b4_at_dollar, b4_dollar_dollar): Remove
|
||||
the useless parentheses.
|
||||
Suggested by Paul Eggert.
|
||||
|
||||
2004-09-20 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Let the initial-action act on the look-ahead, and use it for the
|
||||
|
||||
@@ -1833,8 +1833,8 @@ yyrecoverSyntaxError (yyGLRStack* yystack,
|
||||
#endif
|
||||
])
|
||||
m4_ifdef([b4_initial_action], [
|
||||
m4_pushdef([b4_at_dollar], [(yylval)])dnl
|
||||
m4_pushdef([b4_dollar_dollar], [(yylloc)])dnl
|
||||
m4_pushdef([b4_at_dollar], [yylval])dnl
|
||||
m4_pushdef([b4_dollar_dollar], [yylloc])dnl
|
||||
/* User initialization code. */
|
||||
b4_initial_action
|
||||
m4_popdef([b4_dollar_dollar])dnl
|
||||
|
||||
@@ -826,8 +826,8 @@ b4_c_function_def([yyparse], [int], b4_parse_param)
|
||||
#endif
|
||||
]])
|
||||
m4_ifdef([b4_initial_action], [
|
||||
m4_pushdef([b4_at_dollar], [(yylloc)])dnl
|
||||
m4_pushdef([b4_dollar_dollar], [(yylval)])dnl
|
||||
m4_pushdef([b4_at_dollar], [yylloc])dnl
|
||||
m4_pushdef([b4_dollar_dollar], [yylval])dnl
|
||||
/* User initialization code. */
|
||||
b4_initial_action
|
||||
m4_popdef([b4_dollar_dollar])dnl
|
||||
|
||||
Reference in New Issue
Block a user