summaryrefslogtreecommitdiffstats
path: root/lib
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
commitd521393de79b7e109ce35a10b8ca0675d0e75503 (patch)
tree525f65e847a44be0fc424888bd36c4fa17661f38 /lib
parent3d9582b7f1fe2647d0d68ab55ccc2223c7cbd389 (diff)
downloadruby-d521393de79b7e109ce35a10b8ca0675d0e75503.tar.gz
ruby-d521393de79b7e109ce35a10b8ca0675d0e75503.tar.xz
ruby-d521393de79b7e109ce35a10b8ca0675d0e75503.zip
escape `/'.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 e66ba8879..a788b779b 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)