Permalink
Browse files

Show encoding of compiling regexp.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 8f1430d commit d78e45e08ddef8d7e5e58ea0fc97f28e59baf218 @nurse nurse committed Feb 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 regcomp.c
View
@@ -5094,7 +5094,7 @@ static void print_enc_string(FILE* fp, OnigEncoding enc,
}
}
- fprintf(fp, "/\n");
+ fprintf(fp, "/ (%s)\n", enc->name);
}
static void

0 comments on commit d78e45e

Please sign in to comment.