parse.y: fix duplicate symbol

* parse.y (rb_strterm_mark): do not define in ripper to get rid of
  duplicate symbol with static-linked-ext.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-11-04 15:39:52 +00:00
parent 7d586caeef
commit 39a73cac71

View File

@ -781,6 +781,7 @@ struct rb_strterm_struct {
} u;
};
#ifndef RIPPER
void
rb_strterm_mark(VALUE obj)
{
@ -791,6 +792,7 @@ rb_strterm_mark(VALUE obj)
rb_gc_mark(heredoc->lastline);
}
}
#endif
#define TOKEN2ID(tok) ( \
tTOKEN_LOCAL_BEGIN<(tok)&&(tok)<tTOKEN_LOCAL_END ? TOKEN2LOCALID(tok) : \