From: Adrian Vogelsgesang <[email protected]>

* data/skeletons/lalr1.cc (yy_lr_goto_state_): Make it static.
---
 data/skeletons/lalr1.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/skeletons/lalr1.cc b/data/skeletons/lalr1.cc
index f76e3340..ddee9569 100644
--- a/data/skeletons/lalr1.cc
+++ b/data/skeletons/lalr1.cc
@@ -234,7 +234,7 @@ m4_define([b4_shared_declarations],
     /// Compute post-reduction state.
     /// \param yystate   the current state
     /// \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.
     /// \param yyvalue   the value to check
-- 
2.22.0


Reply via email to