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

ruby-changes:30698

From: akr <ko1@a...>
Date: Mon, 2 Sep 2013 22:56:29 +0900 (JST)
Subject: [ruby-changes:30698] akr:r42777 (trunk): * bignum.c (ISDIGIT): Unused macro removed.

akr	2013-09-02 22:56:23 +0900 (Mon, 02 Sep 2013)

  New Revision: 42777

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

  Log:
    * bignum.c (ISDIGIT): Unused macro removed.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42776)
+++ ChangeLog	(revision 42777)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Sep  2 22:55:59 2013  Tanaka Akira  <akr@f...>
+
+	* bignum.c (ISDIGIT): Unused macro removed.
+
 Mon Sep  2 22:49:15 2013  Tanaka Akira  <akr@f...>
 
 	* bignum.c (str2big_poweroftwo): Extracted from rb_cstr_to_inum.
Index: bignum.c
===================================================================
--- bignum.c	(revision 42776)
+++ bignum.c	(revision 42777)
@@ -3751,9 +3751,6 @@ rb_cstr_to_inum(const char *str, int bas https://github.com/ruby/ruby/blob/trunk/bignum.c#L3751
     size_t num_digits;
     size_t num_bdigits;
 
-#undef ISDIGIT
-#define ISDIGIT(c) ('0' <= (c) && (c) <= '9')
-
     if (!str) {
 	if (badcheck) goto bad;
 	return INT2FIX(0);

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

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