summaryrefslogtreecommitdiff
path: root/lib/irb/slex.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-16 22:09:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-16 22:09:29 +0000
commitdc4d23a7e54df022cdd956c26ee3f8fb5e25c5c9 (patch)
tree0b9c55bfd6719644c35c3acac6a42556542b84d1 /lib/irb/slex.rb
parenta5f31f564338ff1b0c3b87f6ea8aadfff763af44 (diff)
* ext/readline/readline.c: suppress warnings.
* lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command): ditto. * lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto. * lib/irb/ext/history.rb (IRB::Context::eval_history): ditto. * lib/irb/locale.rb (IRB::Locale::real_load): ditto. * lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/slex.rb')
-rw-r--r--lib/irb/slex.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/irb/slex.rb b/lib/irb/slex.rb
index c0943f6e33..f729721a58 100644
--- a/lib/irb/slex.rb
+++ b/lib/irb/slex.rb
@@ -116,7 +116,6 @@ class SLex
def create_subnode(chrs, preproc = nil, postproc = nil)
if chrs.empty?
if @postproc
- p node
SLex.fail ErrNodeAlreadyExists
else
print "Warn: change abstract node to real node\n" if SLex.debug?