зеркало из https://github.com/github/ruby.git
* lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which caused
regression for handling case when there is no newline at the end of file. [ruby-core:28248] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5017259085
Коммит
748782bfc9
|
@ -1,3 +1,9 @@
|
|||
Sun Apr 11 14:44:45 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which caused
|
||||
regression for handling case when there is no newline at the end of
|
||||
file. [ruby-core:28248]
|
||||
|
||||
Sun Apr 11 12:08:49 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* encoding.c (enc_replicate): new encoding name must be valid
|
||||
|
|
|
@ -103,7 +103,6 @@ class RubyLex
|
|||
@rests.push nil unless buf_input
|
||||
end
|
||||
c = @rests.shift
|
||||
return if c == nil
|
||||
if @here_header
|
||||
@here_readed.push c
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче