diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-16 00:49:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-16 00:49:10 +0000 |
commit | f29235378da7033d502d5b1f44df24ad4efa228e (patch) | |
tree | 11e46787e01e89740912b80c53768d11c59bdffa /parse.y | |
parent | 78e376a3eeab15deb1d1a240bb9b575691178a46 (diff) | |
download | ruby-f29235378da7033d502d5b1f44df24ad4efa228e.tar.gz |
* parse.y (magic_comment_encoding): ignores unused emacs-style
encoding comment, as like Vim styles. [ruby-core:23470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -6100,8 +6100,6 @@ static void magic_comment_encoding(struct parser_params *parser, const char *name, const char *val) { if (!comment_at_top(parser)) { - rb_warningS("encoding '%s' is ignored, valid only in the first line except for shebang line.", - val); return; } parser_set_encode(parser, val); |