зеркало из https://github.com/github/ruby.git
fix state definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5a674ddca6
Коммит
0ba09d829c
|
@ -62,7 +62,7 @@ static const char GB18030_MAP[] = {
|
||||||
CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, C1
|
CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, CM, C1
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum { FAILURE = -2, ACCEPT = -1, S0 = 0, S1 } state_t;
|
typedef enum { FAILURE = -2, ACCEPT = -1, S0 = 0, S1, S2, S3 } state_t;
|
||||||
#define A ACCEPT
|
#define A ACCEPT
|
||||||
#define F FAILURE
|
#define F FAILURE
|
||||||
static const signed char trans[][0x100] = {
|
static const signed char trans[][0x100] = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче