diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-22 13:21:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-22 13:21:18 +0000 |
commit | e7606de949fdae93ae51feed80a128511d66a9d3 (patch) | |
tree | d9d9400ee12bbc9250116f753361e16c26caf419 /parse.y | |
parent | ffb49a7e9b8ed9cc130508ff4306dd1c0a38e6c8 (diff) | |
download | ruby-e7606de949fdae93ae51feed80a128511d66a9d3.tar.gz |
parse.y: primary should not be 0
* parse.y (primary): should not be 0, since it can be a receiver.
[ruby-core:82447] [Bug #13836]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2487,7 +2487,7 @@ primary : literal | tLPAREN_ARG {SET_LEX_STATE(EXPR_ENDARG);} rparen { /*%%%*/ - $$ = 0; + $$ = NEW_BEGIN(0); /*% $$ = dispatch1(paren, 0); %*/ |