Skip to content

Commit d7444bc

Browse files
committed
* regex.c (mbctab_sjis): 0x80 is not shift jis first byte.
[ruby-dev:20516] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@4048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 8cf578e commit d7444bc

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Wed Jul 9 23:52:13 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
2+
3+
* regex.c (mbctab_sjis): 0x80 is not shift jis first byte.
4+
[ruby-dev:20516]
5+
16
Wed Jul 9 16:12:13 2003 WATANABE Hirofumi <eban@ruby-lang.org>
27

38
* instruby.rb: do not install shared libraries as man pages.

regex.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4433,7 +4433,7 @@ static const unsigned char mbctab_euc[] = { /* 0xA1-0xFE */
44334433
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0
44344434
};
44354435

4436-
static const unsigned char mbctab_sjis[] = { /* 0x80-0x9f,0xE0-0xFF */
4436+
static const unsigned char mbctab_sjis[] = { /* 0x81-0x9F,0xE0-0xFC */
44374437
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
44384438
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
44394439
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -4442,7 +4442,7 @@ static const unsigned char mbctab_sjis[] = { /* 0x80-0x9f,0xE0-0xFF */
44424442
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
44434443
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
44444444
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4445-
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
4445+
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
44464446
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
44474447
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
44484448
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

0 commit comments

Comments
 (0)