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 | 4f8245b70399d146305726ada8b58ecd74304cc8 (patch) | |
tree | 255fde3474ecfe4a97185dca18deb5fe6572ac9b /ChangeLog | |
parent | 708a982cb493838cac25c575b14afd20aadba818 (diff) | |
download | ruby-4f8245b70399d146305726ada8b58ecd74304cc8.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 |