From 4e64c54728d0d1db94f229feb59fd1bf2d60f686 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 22 Jan 2019 07:25:08 +0000 Subject: ripper.y: get rid of compile error yystpcpy is always used by yysyntax_error in bison 2.3, but may not used by other than yytnamerr in newer bison. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/parse.y b/parse.y index 8300c38b84..df38087acd 100644 --- a/parse.y +++ b/parse.y @@ -611,9 +611,6 @@ rb_strterm_mark(VALUE obj) #define yytnamerr(yyres, yystr) (YYSIZE_T)rb_yytnamerr(yyres, yystr) size_t rb_yytnamerr(char *yyres, const char *yystr); -#ifdef RIPPER -#define yystpcpy Not used -#endif #define TOKEN2ID(tok) ( \ tTOKEN_LOCAL_BEGIN<(tok)&&(tok)