mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
Remove trailing blanks.
The epilogue has its own ending \n, no need to add another. * data/glr.c, data/lalr1.java, data/yacc.c: dnl when outputing the epilogue. * data/glr.cc: dnl when extending the epilogue. Remove stray "private:".
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2009-02-19 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Remove trailing blanks.
|
||||
The epilogue has its own ending
|
||||
, no need to add another.
|
||||
|
||||
* data/glr.c, data/lalr1.java, data/yacc.c: dnl when outputing the
|
||||
epilogue.
|
||||
* data/glr.cc: dnl when extending the epilogue.
|
||||
Remove stray "private:".
|
||||
|
||||
2009-02-19 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Use b4_c_modern.
|
||||
|
||||
10
data/glr.c
10
data/glr.c
@@ -158,7 +158,7 @@ m4_changecom()
|
||||
m4_divert_push(0)dnl
|
||||
@output(b4_parser_file_name@)@
|
||||
b4_copyright([Skeleton implementation for Bison GLR parsers in C],
|
||||
[2002, 2003, 2004, 2005, 2006])
|
||||
[2002, 2003, 2004, 2005, 2006])
|
||||
[
|
||||
/* C GLR parser skeleton written by Paul Hilfinger. */
|
||||
|
||||
@@ -2575,9 +2575,7 @@ yypdumpstack (yyGLRStack* yystackp)
|
||||
YYFPRINTF (stderr, "\n");
|
||||
}
|
||||
#endif
|
||||
]
|
||||
|
||||
b4_epilogue
|
||||
]b4_epilogue[]dnl
|
||||
dnl
|
||||
dnl glr.cc produces its own header.
|
||||
dnl
|
||||
@@ -2585,7 +2583,7 @@ m4_if(b4_skeleton, ["glr.c"],
|
||||
[b4_defines_if(
|
||||
[@output(b4_spec_defines_file@)@
|
||||
b4_copyright([Skeleton interface for Bison GLR parsers in C],
|
||||
[2002, 2003, 2004, 2005, 2006])
|
||||
[2002, 2003, 2004, 2005, 2006])
|
||||
|
||||
b4_shared_declarations
|
||||
|
||||
@@ -2595,5 +2593,5 @@ b4_pure_if([],
|
||||
b4_locations_if([b4_pure_if([],
|
||||
[extern YYLTYPE ]b4_prefix[lloc;])
|
||||
])
|
||||
])])
|
||||
])])[]dnl
|
||||
m4_divert_pop(0)
|
||||
|
||||
@@ -199,7 +199,6 @@ m4_pushdef([b4_parse_param], m4_defn([b4_parse_param_orig]))dnl
|
||||
#endif
|
||||
]m4_popdef([b4_parse_param])dnl
|
||||
b4_namespace_close[
|
||||
|
||||
]])
|
||||
|
||||
|
||||
@@ -311,14 +310,11 @@ b4_user_stype
|
||||
/// Set the current debugging level.
|
||||
void set_debug_level (debug_level_type l);
|
||||
|
||||
private:
|
||||
|
||||
public:
|
||||
/// Report a syntax error.
|
||||
/// \param loc where the syntax error is found.
|
||||
/// \param msg a description of the syntax error.
|
||||
virtual void error (const location_type& loc, const std::string& msg);
|
||||
private:
|
||||
|
||||
#if YYDEBUG
|
||||
public:
|
||||
@@ -342,7 +338,6 @@ b4_user_stype
|
||||
std::ostream* yycdebug_;
|
||||
#endif
|
||||
|
||||
|
||||
/// \brief Reclaim the memory associated to a symbol.
|
||||
/// \param yymsg Why this token is reclaimed.
|
||||
/// \param yytype The symbol type.
|
||||
|
||||
@@ -826,5 +826,5 @@ b4_percent_code_get[]dnl
|
||||
|
||||
}
|
||||
|
||||
b4_epilogue
|
||||
b4_epilogue[]dnl
|
||||
m4_divert_pop(0)dnl
|
||||
|
||||
@@ -1596,8 +1596,7 @@ yypushreturn:
|
||||
return YYID (yyresult);
|
||||
}
|
||||
|
||||
|
||||
]b4_epilogue
|
||||
]b4_epilogue[]dnl
|
||||
b4_defines_if(
|
||||
[@output(b4_spec_defines_file@)@
|
||||
b4_copyright([Interface for Bison's Yacc-like parsers in C])dnl'
|
||||
|
||||
Reference in New Issue
Block a user