summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-21 09:13:49 +0000
committeraycabta <aycabta@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-21 09:13:49 +0000
commit51cec00953ff8d7baa483d3846aa1dbdb89101aa (patch)
tree2900ea0ba7c09379990e9da2edda5d6ef8fa075c /lib/irb.rb
parent683834eb72cfa77f4eac1c705327b522302b1721 (diff)
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
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb4
1 files changed, 4 insertions, 0 deletions
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)