summaryrefslogtreecommitdiff
path: root/lib/irb
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-05 02:23:07 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-05 02:23:07 +0000
commitfb4d3c4df61f51b0cde842a5194ba82903a42d50 (patch)
tree5e2ba2b77a62e33d93dea27182c6cd7c8d736334 /lib/irb
parentef066d4dade99c513c1084cd2db92e354d46ab53 (diff)
* lib/irb/ruby-lec.rb: support %W-notation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r--lib/irb/ruby-lex.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb
index 3b62ef8676..2dd2b7b343 100644
--- a/lib/irb/ruby-lex.rb
+++ b/lib/irb/ruby-lex.rb
@@ -300,7 +300,8 @@ class RubyLex
"Q" => "\"",
"x" => "\`",
"r" => "\/",
- "w" => "]"
+ "w" => "]",
+ "W" => "]"
}
PERCENT_PAREN = {