[前][次][番号順一覧][スレッド一覧]

ruby-changes:7537

From: akr <ko1@a...>
Date: Tue, 2 Sep 2008 12:41:44 +0900 (JST)
Subject: [ruby-changes:7537] Ruby:r19058 (trunk): * enc/trans/japanese_euc.trans: splitted from japanese.trans to avoid

akr	2008-09-02 12:39:11 +0900 (Tue, 02 Sep 2008)

  New Revision: 19058

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19058

  Log:
    * enc/trans/japanese_euc.trans: splitted from japanese.trans to avoid
      compiler limitation.  reported by usa.
    
    * enc/trans/japanese_sjis.trans: ditto.

  Added files:
    trunk/enc/trans/japanese_euc.trans
    trunk/enc/trans/japanese_sjis.trans
  Removed files:
    trunk/enc/trans/japanese.trans
  Modified files:
    trunk/ChangeLog

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19057)
+++ ChangeLog	(revision 19058)
@@ -1,3 +1,10 @@
+Tue Sep  2 12:37:10 2008  Tanaka Akira  <akr@f...>
+
+	* enc/trans/japanese_euc.trans: splitted from japanese.trans to avoid
+	  compiler limitation.  reported by usa.
+
+	* enc/trans/japanese_sjis.trans: ditto.
+
 Tue Sep  2 12:31:24 2008  NAKAMURA Usaku  <usa@r...>
 
 	* win32/Makefile.sub (miniruby): new target.
Index: enc/trans/japanese.trans
===================================================================
--- enc/trans/japanese.trans	(revision 19057)
+++ enc/trans/japanese.trans	(revision 19058)
@@ -1,70 +0,0 @@
-#include "transcode_data.h"
-
-<%
-  transcode_tblgen "Shift_JIS", "UTF-8",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("mskanji", 1, "JISX0201-KANA/UCS") +
-  citrus_decode_mapsrc("mskanji", 2, "JISX0208:1990/UCS")
-
-  transcode_tblgen "Windows-31J", "UTF-8",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("mskanji", 1, "JISX0201-KANA/UCS") +
-  citrus_decode_mapsrc("mskanji", 2,
-    "JISX0208VDC:NEC/UCS,CP932VDC:NEC_IBM/UCS,CP932VDC:IBM/UCS,CP932UDA/UCS,JISX0208:MS/UCS")
-
-
-  transcode_tblgen "UTF-8", "Shift_JIS",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("mskanji", 1, "UCS/JISX0201-KANA") +
-  citrus_decode_mapsrc("mskanji", 2, "UCS/JISX0208:1990")
-
-  transcode_tblgen "UTF-8", "Windows-31J",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("mskanji", 1, "UCS/JISX0201-KANA") +
-  citrus_decode_mapsrc("mskanji", 2,
-    "UCS/JISX0208:MS,UCS/JISX0208VDC:NEC,UCS/CP932VDC:IBM,UCS/CP932VDC:NEC_IBM,UCS/CP932UDA")
-
-
-  transcode_tblgen "EUC-JP", "UTF-8",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("euc", 0x8080, "JISX0208:1990/UCS") +
-  citrus_decode_mapsrc("euc", 0x0080, "JISX0201-KANA/UCS") +
-  citrus_decode_mapsrc("euc", 0x8000, "JISX0212/UCS")
-
-  transcode_tblgen "eucJP-ms", "UTF-8",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("euc", 0x8080, "JISX0208VDC:NEC/UCS,JISX0208UDC/UCS,JISX0208:MS/UCS") +
-  citrus_decode_mapsrc("euc", 0x0080, "JISX0201-KANA/UCS") +
-  citrus_decode_mapsrc("euc", 0x8000, "JISX0212VDC:IBM/UCS,JISX0212UDC/UCS,JISX0212:MS/UCS")
-
-  transcode_tblgen "CP51932", "UTF-8",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("euc", 0x8080, "JISX0208VDC:NEC/UCS,CP932VDC:NEC_IBM/UCS,JISX0208:MS/UCS") +
-  citrus_decode_mapsrc("euc", 0x0080, "JISX0201-KANA/UCS")
-
-
-  transcode_tblgen "UTF-8", "EUC-JP",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("euc", 0x8080, "UCS/JISX0208:1990") +
-  citrus_decode_mapsrc("euc", 0x0080, "UCS/JISX0201-KANA") +
-  citrus_decode_mapsrc("euc", 0x8000, "UCS/JISX0212")
-
-  transcode_tblgen "UTF-8", "eucJP-ms",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("euc", 0x8080, "UCS/JISX0208:MS,UCS/JISX0208VDC:NEC,UCS/JISX0208UDC") +
-  citrus_decode_mapsrc("euc", 0x0080, "UCS/JISX0201-KANA") +
-  citrus_decode_mapsrc("euc", 0x8000, "UCS/JISX0212VDC:IBM,UCS/JISX0212UDC,UCS/JISX0212:MS")
-
-  transcode_tblgen "UTF-8", "CP51932",
-  [["{00-7f}", :nomap]] +
-  citrus_decode_mapsrc("euc", 0x8080, "UCS/JISX0208:MS,UCS/JISX0208VDC:NEC,UCS/CP932VDC:NEC_IBM") +
-  citrus_decode_mapsrc("euc", 0x0080, "UCS/JISX0201-KANA")
-%>
-
-<%= transcode_generated_code %>
-
-void
-Init_japanese(void)
-{
-<%= transcode_register_code %>
-}
Index: enc/trans/japanese_sjis.trans
===================================================================
--- enc/trans/japanese_sjis.trans	(revision 0)
+++ enc/trans/japanese_sjis.trans	(revision 19058)
@@ -0,0 +1,34 @@
+#include "transcode_data.h"
+
+<%
+  transcode_tblgen "Shift_JIS", "UTF-8",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("mskanji", 1, "JISX0201-KANA/UCS") +
+  citrus_decode_mapsrc("mskanji", 2, "JISX0208:1990/UCS")
+
+  transcode_tblgen "Windows-31J", "UTF-8",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("mskanji", 1, "JISX0201-KANA/UCS") +
+  citrus_decode_mapsrc("mskanji", 2,
+    "JISX0208VDC:NEC/UCS,CP932VDC:NEC_IBM/UCS,CP932VDC:IBM/UCS,CP932UDA/UCS,JISX0208:MS/UCS")
+
+
+  transcode_tblgen "UTF-8", "Shift_JIS",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("mskanji", 1, "UCS/JISX0201-KANA") +
+  citrus_decode_mapsrc("mskanji", 2, "UCS/JISX0208:1990")
+
+  transcode_tblgen "UTF-8", "Windows-31J",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("mskanji", 1, "UCS/JISX0201-KANA") +
+  citrus_decode_mapsrc("mskanji", 2,
+    "UCS/JISX0208:MS,UCS/JISX0208VDC:NEC,UCS/CP932VDC:IBM,UCS/CP932VDC:NEC_IBM,UCS/CP932UDA")
+%>
+
+<%= transcode_generated_code %>
+
+void
+Init_japanese_sjis(void)
+{
+<%= transcode_register_code %>
+}

Property changes on: enc/trans/japanese_sjis.trans
___________________________________________________________________
Name: svn:eol-style
   + LF

Index: enc/trans/japanese_euc.trans
===================================================================
--- enc/trans/japanese_euc.trans	(revision 0)
+++ enc/trans/japanese_euc.trans	(revision 19058)
@@ -0,0 +1,46 @@
+#include "transcode_data.h"
+
+<%
+  transcode_tblgen "EUC-JP", "UTF-8",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("euc", 0x8080, "JISX0208:1990/UCS") +
+  citrus_decode_mapsrc("euc", 0x0080, "JISX0201-KANA/UCS") +
+  citrus_decode_mapsrc("euc", 0x8000, "JISX0212/UCS")
+
+  transcode_tblgen "eucJP-ms", "UTF-8",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("euc", 0x8080, "JISX0208VDC:NEC/UCS,JISX0208UDC/UCS,JISX0208:MS/UCS") +
+  citrus_decode_mapsrc("euc", 0x0080, "JISX0201-KANA/UCS") +
+  citrus_decode_mapsrc("euc", 0x8000, "JISX0212VDC:IBM/UCS,JISX0212UDC/UCS,JISX0212:MS/UCS")
+
+  transcode_tblgen "CP51932", "UTF-8",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("euc", 0x8080, "JISX0208VDC:NEC/UCS,CP932VDC:NEC_IBM/UCS,JISX0208:MS/UCS") +
+  citrus_decode_mapsrc("euc", 0x0080, "JISX0201-KANA/UCS")
+
+
+  transcode_tblgen "UTF-8", "EUC-JP",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("euc", 0x8080, "UCS/JISX0208:1990") +
+  citrus_decode_mapsrc("euc", 0x0080, "UCS/JISX0201-KANA") +
+  citrus_decode_mapsrc("euc", 0x8000, "UCS/JISX0212")
+
+  transcode_tblgen "UTF-8", "eucJP-ms",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("euc", 0x8080, "UCS/JISX0208:MS,UCS/JISX0208VDC:NEC,UCS/JISX0208UDC") +
+  citrus_decode_mapsrc("euc", 0x0080, "UCS/JISX0201-KANA") +
+  citrus_decode_mapsrc("euc", 0x8000, "UCS/JISX0212VDC:IBM,UCS/JISX0212UDC,UCS/JISX0212:MS")
+
+  transcode_tblgen "UTF-8", "CP51932",
+  [["{00-7f}", :nomap]] +
+  citrus_decode_mapsrc("euc", 0x8080, "UCS/JISX0208:MS,UCS/JISX0208VDC:NEC,UCS/CP932VDC:NEC_IBM") +
+  citrus_decode_mapsrc("euc", 0x0080, "UCS/JISX0201-KANA")
+%>
+
+<%= transcode_generated_code %>
+
+void
+Init_japanese_euc(void)
+{
+<%= transcode_register_code %>
+}

Property changes on: enc/trans/japanese_euc.trans
___________________________________________________________________
Name: svn:eol-style
   + LF


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]