diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-24 22:31:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-24 22:31:19 +0000 |
commit | 637f6122476ca1da7fa289a2b376c3d09324cc86 (patch) | |
tree | 0611b386a65ef900489c3c14a59dfebe7611a4f4 /parse.y | |
parent | 6eaa5f2b05c17cf05db5ced5e24f818e99a39828 (diff) |
* parse.y (primary): allow newlines just before right argument
parenthesis. (ruby-bugs:PR#1221)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1426,7 +1426,7 @@ primary : literal $$ = NEW_BEGIN($3); nd_set_line($$, $<num>1); } - | tLPAREN_ARG expr {lex_state = EXPR_ENDARG;} ')' + | tLPAREN_ARG expr {lex_state = EXPR_ENDARG;} opt_nl ')' { rb_warning("(...) interpreted as grouped expression"); $$ = $2; |