diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-04 15:39:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-04 15:39:52 +0000 |
commit | 8ca7492400dbf67976f54805bf6d53eff9112865 (patch) | |
tree | 50c1258cb9e968de2e7846c4485cc422fd1454b8 /parse.y | |
parent | 8f6459840c0de82e57b3bfb570cc4ad12be90dd1 (diff) | |
download | ruby-8ca7492400dbf67976f54805bf6d53eff9112865.tar.gz |
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
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) : \ |