From 51cec00953ff8d7baa483d3846aa1dbdb89101aa Mon Sep 17 00:00:00 2001 From: aycabta Date: Sun, 21 Apr 2019 09:13:49 +0000 Subject: Revert "IRB is improved with Reline and RDoc" This reverts commit 7f273ac6d0f05208b5b228da95205e20c0e8286c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/irb.rb') diff --git a/lib/irb.rb b/lib/irb.rb index cfe514b786..78d0b7c8cf 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -73,6 +73,7 @@ require "irb/version" # --back-trace-limit n # Display backtrace top n and tail n. The default # value is 16. +# --irb_debug n Set internal debug level to n (not for popular use) # -v, --version Print the version of irb # # == Configuration @@ -100,6 +101,7 @@ require "irb/version" # IRB.conf[:IGNORE_EOF] = false # IRB.conf[:PROMPT_MODE] = :DEFAULT # IRB.conf[:PROMPT] = {...} +# IRB.conf[:DEBUG_LEVEL]=0 # # === Auto indentation # @@ -408,7 +410,9 @@ module IRB @context = Context.new(self, workspace, input_method, output_method) @context.main.extend ExtendCommandBundle @signal_status = :IN_IRB + @scanner = RubyLex.new + @scanner.exception_on_syntax_error = false end def run(conf = IRB.conf) -- cgit v1.2.3