aboutsummaryrefslogtreecommitdiffstats
path: root/regcomp.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-23 00:04:51 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-23 00:04:51 +0000
commitd78e45e08ddef8d7e5e58ea0fc97f28e59baf218 (patch)
treecd6f0161b3e1f232f1d868dce46a7243bcb682e7 /regcomp.c
parent8f1430d08b1cba4e2a255cb48e3fa46a84d4d2e3 (diff)
downloadruby-d78e45e08ddef8d7e5e58ea0fc97f28e59baf218.tar.gz
Show encoding of compiling regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
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