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:
parent
7d586caeef
commit
39a73cac71
2
parse.y
2
parse.y
@ -781,6 +781,7 @@ struct rb_strterm_struct {
|
|||||||
} u;
|
} u;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef RIPPER
|
||||||
void
|
void
|
||||||
rb_strterm_mark(VALUE obj)
|
rb_strterm_mark(VALUE obj)
|
||||||
{
|
{
|
||||||
@ -791,6 +792,7 @@ rb_strterm_mark(VALUE obj)
|
|||||||
rb_gc_mark(heredoc->lastline);
|
rb_gc_mark(heredoc->lastline);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TOKEN2ID(tok) ( \
|
#define TOKEN2ID(tok) ( \
|
||||||
tTOKEN_LOCAL_BEGIN<(tok)&&(tok)<tTOKEN_LOCAL_END ? TOKEN2LOCALID(tok) : \
|
tTOKEN_LOCAL_BEGIN<(tok)&&(tok)<tTOKEN_LOCAL_END ? TOKEN2LOCALID(tok) : \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user