* lib/irb/ruby-lex.rb: recognize '\char' in ruby statement.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
keiju 2011-06-28 12:52:21 +00:00
parent 2102559f8c
commit e36395dce6
2 changed files with 5 additions and 1 deletions

View file

@ -677,7 +677,7 @@ class RubyLex
@continue = true
Token(TkSPACE)
else
ungetc
read_escape
Token("\\")
end
end