mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
* 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:
parent
2102559f8c
commit
e36395dce6
2 changed files with 5 additions and 1 deletions
|
@ -677,7 +677,7 @@ class RubyLex
|
|||
@continue = true
|
||||
Token(TkSPACE)
|
||||
else
|
||||
ungetc
|
||||
read_escape
|
||||
Token("\\")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue