mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* jcode.rb (succ!): call original succ! if $KCODE == 'n'.
fixed: [ruby-talk:216845] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f1caf89e4
commit
cab3b4e92f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Sep 29 12:11:04 2006 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* jcode.rb (succ!): call original succ! if $KCODE == 'n'.
|
||||
fixed: [ruby-talk:216845]
|
||||
|
||||
Fri Sep 29 11:43:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (try_func): revert fallback checking undeclared function.
|
||||
|
|
|
@ -77,7 +77,7 @@ class String
|
|||
|
||||
def succ!
|
||||
reg = end_regexp
|
||||
if self =~ reg
|
||||
if $KCODE != 'NONE' && self =~ reg
|
||||
succ_table = SUCC[$KCODE[0,1].downcase]
|
||||
last1 = self[-1].ord
|
||||
last2 = self[-2].ord
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue