parse.y: fix a typo

* parse.y (regexp_contents): fix a typo.  pointed out by wanabe.
  [ruby-dev:48741] [Bug #10543]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-11-30 11:05:58 +00:00
parent 1918ea16c7
commit d40aad1c09
3 changed files with 26 additions and 1 deletions

View file

@ -4261,7 +4261,7 @@ regexp_contents: /* none */
/*%
VALUE s1 = 0, s2 = 0, n1 = $1, n2 = $2;
if (ripper_is_node_yylval(n1)) {
s1 = RNODE(n2)->nd_cval;
s1 = RNODE(n1)->nd_cval;
n1 = RNODE(n1)->nd_rval;
}
if (ripper_is_node_yylval(n2)) {