ruby-changes:3844
From: ko1@a...
Date: Wed, 30 Jan 2008 00:35:48 +0900 (JST)
Subject: [ruby-changes:3844] akr - Ruby:r15333 (trunk): fix state definition.
akr 2008-01-30 00:35:37 +0900 (Wed, 30 Jan 2008)
New Revision: 15333
Modified files:
trunk/enc/gb18030.c
Log:
fix state definition.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enc/gb18030.c?r1=15333&r2=15332&diff_format=u
Index: enc/gb18030.c
===================================================================
--- enc/gb18030.c (revision 15332)
+++ enc/gb18030.c (revision 15333)
@@ -62,7 +62,7 @@
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 F FAILURE
static const signed char trans[][0x100] = {
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/