diff options
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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)<tTOKEN_LOCAL_END ? TOKEN2LOCALID(tok) : \ @@ -11650,6 +11647,8 @@ Init_ripper(void) id_warning = rb_intern_const("warning"); id_gets = rb_intern_const("gets"); + (void)yystpcpy; /* may not used in newer bison */ + InitVM(ripper); } |