summaryrefslogtreecommitdiff
path: root/lib/irb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-13 17:22:08 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-13 17:22:08 +0000
commit73667560792c0dc7bdbcd96b4ba56c65ba558506 (patch)
tree525f65e847a44be0fc424888bd36c4fa17661f38 /lib/irb
parent6d53b692ab91c8817736cdec78b388e6e4990806 (diff)
escape `/'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r--lib/irb/ruby-lex.rb2
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)