From 748782bfc958f1ea0245cfc1fb1e893f7fe2f671 Mon Sep 17 00:00:00 2001 From: mame Date: Sun, 11 Apr 2010 05:47:18 +0000 Subject: * 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 --- lib/irb/ruby-lex.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 5a6c2894fb..37261bb79c 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -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 -- cgit v1.2.3