diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-13 17:22:08 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-13 17:22:08 +0000 |
commit | 73667560792c0dc7bdbcd96b4ba56c65ba558506 (patch) | |
tree | 525f65e847a44be0fc424888bd36c4fa17661f38 /lib | |
parent | 6d53b692ab91c8817736cdec78b388e6e4990806 (diff) | |
download | ruby-73667560792c0dc7bdbcd96b4ba56c65ba558506.tar.gz |
escape `/'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/ruby-lex.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index e66ba8879e..a788b779b4 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -659,7 +659,7 @@ class RubyLex @lex_state = EXPR_END case ch = getc - when /[~_*$?!@/\\;,=:<>".]/ #" + when /[~_*$?!@\/\\;,=:<>".]/ #" Token(TkGVAR, "$" + ch) when "-" Token(TkGVAR, "$-" + getc) |