mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
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:
parent
1918ea16c7
commit
d40aad1c09
3 changed files with 26 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue