ruby-changes:45822
From: naruse <ko1@a...>
Date: Sun, 12 Mar 2017 16:36:06 +0900 (JST)
Subject: [ruby-changes:45822] naruse:r57895 (ruby_2_4): merge revision(s) 57517: [Backport #13190]
naruse 2017-03-12 16:36:02 +0900 (Sun, 12 Mar 2017) New Revision: 57895 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57895 Log: merge revision(s) 57517: [Backport #13190] doc: Fix error for escape sequences in string literals Backslash goes first in escape sequences, so it must be "any other character following a backslash is interpreted as ...", while the doc says "...followed by...". Author: Marcus Stollsteimer <sto.mar@w...> [ruby-core:79418] [Bug #13190] Modified directories: branches/ruby_2_4/ Modified files: branches/ruby_2_4/doc/syntax/literals.rdoc branches/ruby_2_4/version.h Index: ruby_2_4/doc/syntax/literals.rdoc =================================================================== --- ruby_2_4/doc/syntax/literals.rdoc (revision 57894) +++ ruby_2_4/doc/syntax/literals.rdoc (revision 57895) @@ -108,7 +108,7 @@ sequences are as follows: https://github.com/ruby/ruby/blob/trunk/ruby_2_4/doc/syntax/literals.rdoc#L108 \c\M-x same as above \c? or \C-? delete, ASCII 7Fh (DEL) -Any other character followed by a backslash is interpreted as the +Any other character following a backslash is interpreted as the character itself. Double-quote strings allow interpolation of other values using Index: ruby_2_4/version.h =================================================================== --- ruby_2_4/version.h (revision 57894) +++ ruby_2_4/version.h (revision 57895) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/version.h#L1 #define RUBY_VERSION "2.4.0" #define RUBY_RELEASE_DATE "2017-03-12" -#define RUBY_PATCHLEVEL 52 +#define RUBY_PATCHLEVEL 53 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 Property changes on: ruby_2_4 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r57517 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/