diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-08 09:08:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-08 09:08:31 +0000 |
commit | 50784a0a4412df551d96dd01067473cd4226481b (patch) | |
tree | ac31564d8efa9913bc4b25bc1e099916d89f140d /internal.h | |
parent | e52b102c36dc1dd609a97149e99edc7d1f96b7a4 (diff) | |
download | ruby-50784a0a4412df551d96dd01067473cd4226481b.tar.gz |
Defer escaping control char in error messages
* eval_error.c (print_errinfo): defer escaping control char in
error messages until writing to stderr, instead of quoting at
building the message. [ruby-core:90853] [Bug #15497]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index c6cf73bf10..f57c1b73cd 100644 --- a/internal.h +++ b/internal.h @@ -2021,6 +2021,7 @@ VALUE rb_sym_to_proc(VALUE sym); char *rb_str_to_cstr(VALUE str); VALUE rb_str_eql(VALUE str1, VALUE str2); VALUE rb_obj_as_string_result(VALUE str, VALUE obj); +const char *ruby_escaped_char(int c); /* symbol.c */ #ifdef RUBY_ENCODING_H |