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 | 2ceb166fbb9e9765c9c2c2ea0669541103fbcc1e (patch) | |
| tree | a81838b4fdea760940d59000c75962ec25f17395 | |
| parent | 3291cc4d3cee9fa5aa03b4f7f70cae8a1c46a1b3 (diff) | |
| download | ruby-2ceb166fbb9e9765c9c2c2ea0669541103fbcc1e.tar.gz ruby-2ceb166fbb9e9765c9c2c2ea0669541103fbcc1e.tar.xz ruby-2ceb166fbb9e9765c9c2c2ea0669541103fbcc1e.zip | |
* lib/jcode.rb: need to initialize SUCC['n'].
fixed: [ruby-talk:216845]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/jcode.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Fri Sep 29 10:59:16 2006 WATANABE Hirofumi <eban@ruby-lang.org> + + * lib/jcode.rb: need to initialize SUCC['n']. + fixed: [ruby-talk:216845] + Fri Sep 29 09:56:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/extmk.rb: extout is needed for also clean. diff --git a/lib/jcode.rb b/lib/jcode.rb index e5367e815..8a938254b 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 |
