From d78e45e08ddef8d7e5e58ea0fc97f28e59baf218 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 23 Feb 2011 00:04:51 +0000 Subject: Show encoding of compiling regexp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regcomp.c') diff --git a/regcomp.c b/regcomp.c index 2ec4e0d76d..7c29fb5203 100644 --- a/regcomp.c +++ b/regcomp.c @@ -5094,7 +5094,7 @@ static void print_enc_string(FILE* fp, OnigEncoding enc, } } - fprintf(fp, "/\n"); + fprintf(fp, "/ (%s)\n", enc->name); } static void -- cgit v1.2.3