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

ruby-changes:42237

From: duerst <ko1@a...>
Date: Mon, 28 Mar 2016 14:26:28 +0900 (JST)
Subject: [ruby-changes:42237] duerst:r54311 (trunk): * enc/unicode.c: Removed code now covered by data from table.

duerst	2016-03-28 14:26:23 +0900 (Mon, 28 Mar 2016)

  New Revision: 54311

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54311

  Log:
    * enc/unicode.c: Removed code now covered by data from table.

  Modified files:
    trunk/ChangeLog
    trunk/enc/unicode.c
Index: enc/unicode.c
===================================================================
--- enc/unicode.c	(revision 54310)
+++ enc/unicode.c	(revision 54311)
@@ -704,12 +704,6 @@ onigenc_unicode_case_map(OnigCaseFoldTyp https://github.com/ruby/ruby/blob/trunk/enc/unicode.c#L704
 		    }
 		}
 	    }
-	    /* the following special case for  DOTLESS i -> I
-	     * can be removed once we rely on data,
-	     * because the mapping is always the same */
-	    else if (code==DOTLESS_i && (flags&ONIGENC_CASE_UPCASE)) {
-		code = 'I'; MODIFIED;
-	    }
 	    else if ((folded = onigenc_unicode_fold_lookup(code)) != 0) { /* data about character found in CaseFold_11_Table */
 		if (flags&OnigCaseFoldFlags(folded->n)) {
 		    const OnigCodePoint *next;
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54310)
+++ ChangeLog	(revision 54311)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Mar 28 14:26:24 2016  Martin Duerst  <duerst@i...>
+
+	* enc/unicode.c: Removed code now covered by data from table.
+
 Mon Mar 28 11:49:21 2016  Martin Duerst  <duerst@i...>
 
 	* enc/unicode.c: Adding comments. [ci skip]

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

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