* parse.y (parser_prepare): set begging after BOM if exists.

[ruby-core:13718]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-11-20 06:08:16 +00:00
Родитель db74541efe
Коммит d7e4c1e66b
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Tue Nov 20 15:08:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (parser_prepare): set begging after BOM if exists.
[ruby-core:13718]
Tue Nov 20 14:55:37 2007 Eric Hodel <drbrain@segment7.net>
* lib/rubygems*: Update to RubyGems 0.9.5.

Просмотреть файл

@ -5944,6 +5944,7 @@ parser_prepare(struct parser_params *parser)
(unsigned char)lex_p[1] == 0xbf) {
parser_set_encode(parser, "UTF-8");
lex_p += 2;
lex_pbeg = lex_p;
return;
}
break;