mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Jun 28 21:44:58 2011 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||||
|
|
||||||
|
* lib/irb/ruby-lex.rb: recognize '\char' in ruby statement.
|
||||||
|
|
||||||
Tue Jun 28 20:39:29 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
|
Tue Jun 28 20:39:29 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
|
||||||
|
|
||||||
* lib/debug.rb (var_list): Command 'var *' did not work on 1.9(!).
|
* lib/debug.rb (var_list): Command 'var *' did not work on 1.9(!).
|
||||||
|
|
|
@ -677,7 +677,7 @@ class RubyLex
|
||||||
@continue = true
|
@continue = true
|
||||||
Token(TkSPACE)
|
Token(TkSPACE)
|
||||||
else
|
else
|
||||||
ungetc
|
read_escape
|
||||||
Token("\\")
|
Token("\\")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue