summaryrefslogtreecommitdiffstats
path: root/lib/irb/ruby-lex.rb
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-27 15:35:04 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-27 15:35:04 +0000
commit870d7cfec4b29a4b572a55e08c6179fab4cda879 (patch)
treeff56adadf7f83d0c7c77545ae118fceaa111a13b /lib/irb/ruby-lex.rb
parent7722a3476305341383563b0f26c0854c9314611b (diff)
downloadruby-870d7cfec4b29a4b572a55e08c6179fab4cda879.tar.gz
ruby-870d7cfec4b29a4b572a55e08c6179fab4cda879.tar.xz
ruby-870d7cfec4b29a4b572a55e08c6179fab4cda879.zip
* lib/matrix.rb: resolve 'ruby -w' warnings.
* lib/irb/locale.rb: resolve 'ruby -w' warnings. * lib/irb/multi-irb.rb: resolve 'ruby -w' warnings. * lib/irb/ruby-lex.rb: fix problem for "\\M-\\..." and "\\C-\\..." and resolve 'ruby -w' warnings. * lib/irb/ruby-token.rb: fix typo * lib/shell/command-processor.rb: resolve 'ruby -w' warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/ruby-lex.rb')
-rw-r--r--lib/irb/ruby-lex.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb
index 3a862002a..364761784 100644
--- a/lib/irb/ruby-lex.rb
+++ b/lib/irb/ruby-lex.rb
@@ -954,7 +954,7 @@ class RubyLex
ungetc
else
if (ch = getc) == "\\" #"
- read_escape(chrs)
+ read_escape
end
end
@@ -962,7 +962,7 @@ class RubyLex
if ch == "C" and (ch = getc) != "-"
ungetc
elsif (ch = getc) == "\\" #"
- read_escape(chrs)
+ read_escape
end
else
# other characters