diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-09 14:52:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-09 14:52:20 +0000 |
commit | d54accfe3ff3fd8a139cc7b899fc1e20104dcc97 (patch) | |
tree | 6eceed0d9ffcb2557315d0f0b3fa627ad48d33ad /regex.c | |
parent | eeba4b02e8bcdfab4f97c85956469f239d2428a7 (diff) | |
download | ruby-d54accfe3ff3fd8a139cc7b899fc1e20104dcc97.tar.gz |
* regex.c (mbctab_sjis): 0x80 is not shift jis first byte.
[ruby-dev:20516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4462,7 +4462,7 @@ static const unsigned char mbctab_euc[] = { /* 0xA1-0xFE */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, }; -static const unsigned char mbctab_sjis[] = { /* 0x80-0x9f,0xE0-0xFC */ +static const unsigned char mbctab_sjis[] = { /* 0x81-0x9F,0xE0-0xFC */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -4471,7 +4471,7 @@ static const unsigned char mbctab_sjis[] = { /* 0x80-0x9f,0xE0-0xFC */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |