From 3abca796f4e5cd2162217d6a508b0667302a8cba Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 5 May 2009 00:05:11 +0000 Subject: Fix: DON'T move in_p because before in_p is replaced by buffered data. * transcode.c: NOMAP is now multibyte direct map. * transcode.c: remove ASIS. * transcode_data.h: ditto. * tool/transcode-tb (ActionMap#generate_info): remove :asis. * tool/transcode-tb (ActionMap#generate_info): add :nomap0. * enc/trans/utf8_mac.trans: replace :asis by :nomap0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- transcode_data.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'transcode_data.h') diff --git a/transcode_data.h b/transcode_data.h index 9a09e18652..8b320c39eb 100644 --- a/transcode_data.h +++ b/transcode_data.h @@ -22,7 +22,7 @@ #define PType (unsigned int) -#define NOMAP (PType 0x01) /* single byte direct map */ +#define NOMAP (PType 0x01) /* direct map */ #define ONEbt (0x02) /* one byte payload */ #define TWObt (0x03) /* two bytes payload */ #define THREEbt (0x05) /* three bytes payload */ @@ -36,7 +36,6 @@ #define FUNso (PType 0x0F) /* function from start to output */ #define STR1 (PType 0x11) /* string 4 <= len <= 259 bytes: 1byte length + content */ #define GB4bt (PType 0x12) /* GB18030 four bytes payload */ -#define ASIS (PType 0x13) /* multi byte direct map */ #define STR1_LENGTH(byte_addr) (unsigned int)(*(byte_addr) + 4) #define STR1_BYTEINDEX(w) ((w) >> 6) -- cgit v1.2.3