diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-29 05:16:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-29 05:16:29 +0000 |
commit | 348dd24b5db42ea352b9f012e0f09289278491e1 (patch) | |
tree | 255fde3474ecfe4a97185dca18deb5fe6572ac9b /ChangeLog | |
parent | 40809505e8499b3da96a314c5f2f59cf6ae5299c (diff) | |
download | ruby-348dd24b5db42ea352b9f012e0f09289278491e1.tar.gz |
erb.rb: fronzen-string-literal in comment [Fix GH-1229]
* lib/erb.rb (ERB::Compiler#detect_magic_comment): allow
fronzen-string-literal in comment as well as encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ -Fri Jan 29 14:13:28 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> +Fri Jan 29 14:15:26 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/erb.rb (ERB::Compiler#detect_magic_comment): allow + fronzen-string-literal in comment as well as encoding. * lib/erb.rb (ERB#def_method): insert def line just before the first non-comment and non-empty line, not to leave duplicated |