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

ruby-changes:18918

From: naruse <ko1@a...>
Date: Wed, 23 Feb 2011 09:05:04 +0900 (JST)
Subject: [ruby-changes:18918] Ruby:r30943 (trunk): Show encoding of compiling regexp.

naruse	2011-02-23 09:04:51 +0900 (Wed, 23 Feb 2011)

  New Revision: 30943

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

  Log:
    Show encoding of compiling regexp.

  Modified files:
    trunk/regcomp.c

Index: regcomp.c
===================================================================
--- regcomp.c	(revision 30942)
+++ regcomp.c	(revision 30943)
@@ -5094,7 +5094,7 @@
     }
   }
 
-  fprintf(fp, "/\n");
+  fprintf(fp, "/ (%s)\n", enc->name);
 }
 
 static void

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

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