ruby-changes:8962
From: yugui <ko1@a...>
Date: Thu, 4 Dec 2008 17:55:38 +0900 (JST)
Subject: [ruby-changes:8962] Ruby:r20499 (ruby_1_9_1): merges r20469 from trunk into ruby_1_9_1.
yugui 2008-12-04 17:54:56 +0900 (Thu, 04 Dec 2008) New Revision: 20499 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20499 Log: merges r20469 from trunk into ruby_1_9_1. * parse.y (expr): keyword_not can continue across newline. [ruby-core:20252] Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/parse.y Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 20498) +++ ruby_1_9_1/ChangeLog (revision 20499) @@ -1,3 +1,8 @@ +Wed Dec 3 22:54:39 2008 Nobuyoshi Nakada <nobu@r...> + + * parse.y (expr): keyword_not can continue across newline. + [ruby-core:20252] + Wed Dec 3 14:48:52 2008 Nobuyoshi Nakada <nobu@r...> * ext/tk/tcltklib.c (ip_ruby_cmd, ip_invoke_with_position): must Index: ruby_1_9_1/parse.y =================================================================== --- ruby_1_9_1/parse.y (revision 20498) +++ ruby_1_9_1/parse.y (revision 20499) @@ -1174,12 +1174,12 @@ $$ = dispatch3(binary, $1, ripper_intern("or"), $3); %*/ } - | keyword_not expr + | keyword_not opt_nl expr { /*%%%*/ - $$ = call_uni_op(cond($2), '!'); + $$ = call_uni_op(cond($3), '!'); /*% - $$ = dispatch2(unary, ripper_intern("not"), $2); + $$ = dispatch2(unary, ripper_intern("not"), $3); %*/ } | '!' command_call -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/