diff options
| author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-08 09:28:19 +0000 |
|---|---|---|
| committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-08 09:28:19 +0000 |
| commit | cb7f49faaa88948ed4bba752847bd2e6b9d81dc4 (patch) | |
| tree | ea224162e950ca78a2c749bec583d74f7b256038 /lib/irb.rb | |
| parent | 35043d8f0c53f9f3507ca173a02a79f3ed1bdd3f (diff) | |
| download | ruby-cb7f49faaa88948ed4bba752847bd2e6b9d81dc4.tar.gz ruby-cb7f49faaa88948ed4bba752847bd2e6b9d81dc4.tar.xz ruby-cb7f49faaa88948ed4bba752847bd2e6b9d81dc4.zip | |
*** empty log message ***
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb.rb')
| -rw-r--r-- | lib/irb.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/irb.rb b/lib/irb.rb index 2045ed3e0..1b8444b5b 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -1,6 +1,6 @@ # # irb.rb - irb main module -# $Release Version: 0.7.3 $ +# $Release Version: 0.7.4 $ # $Revision$ # $Date$ # by Keiju ISHITSUKA(keiju@ishitsuka.com) @@ -209,8 +209,7 @@ module IRB case @signal_status when :IN_INPUT print "^C\n" - @scanner.initialize_input - print @context.io.prompt + raise RubyLex::TerminateLineInput when :IN_EVAL IRB.irb_abort(self) when :IN_LOAD |
