lalr1.cc: reduce "scope"

* data/skeletons/lalr1.cc (yy_lr_goto_state_): Make it static.
This commit is contained in:
Adrian Vogelsgesang
2019-08-09 06:02:20 -05:00
committed by Akim Demaille
parent 6f47eea7ab
commit 0420362ee8

View File

@@ -234,7 +234,7 @@ m4_define([b4_shared_declarations],
/// Compute post-reduction state. /// Compute post-reduction state.
/// \param yystate the current state /// \param yystate the current state
/// \param yysym the nonterminal to push on the stack /// \param yysym the nonterminal to push on the stack
state_type yy_lr_goto_state_ (state_type yystate, int yysym); static state_type yy_lr_goto_state_ (state_type yystate, int yysym);
/// Whether the given \c yypact_ value indicates a defaulted state. /// Whether the given \c yypact_ value indicates a defaulted state.
/// \param yyvalue the value to check /// \param yyvalue the value to check