diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-29 02:05:40 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-29 02:05:40 +0000 |
commit | c643593b204470ca5e74c07b18c8499e709b96df (patch) | |
tree | a81838b4fdea760940d59000c75962ec25f17395 /lib | |
parent | 1dd0654b6a9e389ff31fbb34c2250746f636f883 (diff) |
* lib/jcode.rb: need to initialize SUCC['n'].
fixed: [ruby-talk:216845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jcode.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/jcode.rb b/lib/jcode.rb index e5367e815b..8a938254bb 100644 --- a/lib/jcode.rb +++ b/lib/jcode.rb @@ -24,6 +24,7 @@ class String RE_UTF8 = Regexp.new(PATTERN_UTF8, 0, 'n') SUCC = {} + SUCC['n'] = Hash.new(1) SUCC['s'] = Hash.new(1) for i in 0 .. 0x3f SUCC['s'][i.chr] = 0x40 - i |