diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-20 06:08:16 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-20 06:08:16 +0000 |
| commit | 0c2091d44bc044a162913c98bdc30ae423513a42 (patch) | |
| tree | 3d0532d26530d2491743bc2b72f90d963acff8a2 | |
| parent | d8c6c9bf404f1b0d6f70f7f20605c80e46fbd3ed (diff) | |
| download | ruby-0c2091d44bc044a162913c98bdc30ae423513a42.tar.gz ruby-0c2091d44bc044a162913c98bdc30ae423513a42.tar.xz ruby-0c2091d44bc044a162913c98bdc30ae423513a42.zip | |
* parse.y (parser_prepare): set begging after BOM if exists.
[ruby-core:13718]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | parse.y | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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; |
