mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 19:23:02 +00:00
style: remove useless parens
* data/bison.m4, data/glr.c, data/glr.cc, data/lalr1.cc, * data/lalr1.java, data/location.cc, data/yacc.c: Call b4_output_end without parens.
This commit is contained in:
@@ -76,8 +76,8 @@ m4_divert_push(0)dnl
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
# b4_output_end()
|
# b4_output_end
|
||||||
# ---------------
|
# -------------
|
||||||
# Output nothing, restore # as comment character (no expansions after #).
|
# Output nothing, restore # as comment character (no expansions after #).
|
||||||
m4_define([b4_output_end],
|
m4_define([b4_output_end],
|
||||||
[m4_divert_pop(0)
|
[m4_divert_pop(0)
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C],
|
|||||||
]b4_cpp_guard_open([b4_spec_defines_file])[
|
]b4_cpp_guard_open([b4_spec_defines_file])[
|
||||||
]b4_shared_declarations[
|
]b4_shared_declarations[
|
||||||
]b4_cpp_guard_close([b4_spec_defines_file])[
|
]b4_cpp_guard_close([b4_spec_defines_file])[
|
||||||
]b4_output_end()
|
]b4_output_end
|
||||||
])])
|
])])
|
||||||
|
|
||||||
|
|
||||||
@@ -2579,4 +2579,4 @@ m4_if(b4_prefix, [yy], [],
|
|||||||
#define yylloc ]b4_prefix[lloc]])])[
|
#define yylloc ]b4_prefix[lloc]])])[
|
||||||
|
|
||||||
]b4_epilogue[]dnl
|
]b4_epilogue[]dnl
|
||||||
b4_output_end()
|
b4_output_end
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C++],
|
|||||||
]b4_cpp_guard_open([b4_spec_defines_file])[
|
]b4_cpp_guard_open([b4_spec_defines_file])[
|
||||||
]b4_shared_declarations[
|
]b4_shared_declarations[
|
||||||
]b4_cpp_guard_close([b4_spec_defines_file])[
|
]b4_cpp_guard_close([b4_spec_defines_file])[
|
||||||
]b4_output_end()])
|
]b4_output_end])
|
||||||
|
|
||||||
# Let glr.c (and b4_shared_declarations) believe that the user
|
# Let glr.c (and b4_shared_declarations) believe that the user
|
||||||
# arguments include the parser itself.
|
# arguments include the parser itself.
|
||||||
|
|||||||
@@ -405,7 +405,7 @@ b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++])
|
|||||||
]b4_cpp_guard_open([b4_spec_defines_file])[
|
]b4_cpp_guard_open([b4_spec_defines_file])[
|
||||||
]b4_shared_declarations(hh)[
|
]b4_shared_declarations(hh)[
|
||||||
]b4_cpp_guard_close([b4_spec_defines_file])
|
]b4_cpp_guard_close([b4_spec_defines_file])
|
||||||
b4_output_end()
|
b4_output_end
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
@@ -1198,7 +1198,7 @@ b4_error_verbose_if([state_type yystate, const symbol_type& yyla],
|
|||||||
]b4_token_ctor_if([], [b4_yytranslate_define([cc])])[
|
]b4_token_ctor_if([], [b4_yytranslate_define([cc])])[
|
||||||
]b4_namespace_close[
|
]b4_namespace_close[
|
||||||
]b4_epilogue[]dnl
|
]b4_epilogue[]dnl
|
||||||
b4_output_end()
|
b4_output_end
|
||||||
|
|
||||||
|
|
||||||
m4_popdef([b4_copyright_years])dnl
|
m4_popdef([b4_copyright_years])dnl
|
||||||
|
|||||||
@@ -1068,4 +1068,4 @@ b4_percent_code_get[]dnl
|
|||||||
}
|
}
|
||||||
|
|
||||||
b4_epilogue[]dnl
|
b4_epilogue[]dnl
|
||||||
b4_output_end()
|
b4_output_end
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ b4_copyright([Positions for Bison parsers in C++])[
|
|||||||
]b4_position_define[
|
]b4_position_define[
|
||||||
]b4_namespace_close[
|
]b4_namespace_close[
|
||||||
]b4_cpp_guard_close([b4_dir_prefix[]position.hh])
|
]b4_cpp_guard_close([b4_dir_prefix[]position.hh])
|
||||||
b4_output_end()
|
b4_output_end
|
||||||
|
|
||||||
|
|
||||||
b4_output_begin([b4_dir_prefix[]location.hh])
|
b4_output_begin([b4_dir_prefix[]location.hh])
|
||||||
@@ -327,7 +327,7 @@ b4_copyright([Locations for Bison parsers in C++])[
|
|||||||
]b4_location_define[
|
]b4_location_define[
|
||||||
]b4_namespace_close[
|
]b4_namespace_close[
|
||||||
]b4_cpp_guard_close([b4_dir_prefix[]location.hh])
|
]b4_cpp_guard_close([b4_dir_prefix[]location.hh])
|
||||||
b4_output_end()
|
b4_output_end
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -148,8 +148,7 @@ b4_copyright([Stack handling for Bison parsers in C++])[
|
|||||||
]b4_stack_define[
|
]b4_stack_define[
|
||||||
]b4_namespace_close[
|
]b4_namespace_close[
|
||||||
|
|
||||||
]b4_cpp_guard_close([b4_dir_prefix[]stack.hh])
|
]b4_cpp_guard_close([b4_dir_prefix[]stack.hh])[
|
||||||
b4_output_end()
|
]b4_output_end])
|
||||||
])
|
|
||||||
|
|
||||||
m4_popdef([b4_copyright_years])
|
m4_popdef([b4_copyright_years])
|
||||||
|
|||||||
@@ -1908,12 +1908,12 @@ yypushreturn:]])[
|
|||||||
return yyresult;
|
return yyresult;
|
||||||
}
|
}
|
||||||
]b4_epilogue[]dnl
|
]b4_epilogue[]dnl
|
||||||
b4_output_end()
|
b4_output_end
|
||||||
|
|
||||||
b4_defines_if(
|
b4_defines_if(
|
||||||
[b4_output_begin([b4_spec_defines_file])[
|
[b4_output_begin([b4_spec_defines_file])[
|
||||||
]b4_copyright([Bison interface for Yacc-like parsers in C])[
|
]b4_copyright([Bison interface for Yacc-like parsers in C])[
|
||||||
|
|
||||||
]b4_shared_declarations[
|
]b4_shared_declarations[
|
||||||
]b4_output_end()
|
]b4_output_end
|
||||||
])# b4_defines_if
|
])# b4_defines_if
|
||||||
|
|||||||
Reference in New Issue
Block a user