From 401874e72b3fe322a2137f4f48963ad037b016cb Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 9 Dec 2007 21:48:05 +0000 Subject: * re.c (rb_reg_expr_str): use \xHH instead of \OOO. * regerror.c (to_ascii): ditto. (onig_snprintf_with_pattern): ditto. (onig_snprintf_with_pattern): ditto. * string.c (rb_str_inspect): ditto. (rb_str_dump): ditto. * parse.y (parser_yylex): ditto. * ruby.c (proc_options): ditto. * file.c (rb_f_test): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index 486780467..fa21bb53b 100644 --- a/ruby.c +++ b/ruby.c @@ -863,7 +863,7 @@ proc_options(int argc, char **argv, struct cmdline_options *opt) } else { rb_raise(rb_eRuntimeError, - "invalid option -\\%03o (-h will show valid options)", + "invalid option -\\x%02x (-h will show valid options)", (int)(unsigned char)*s); } } -- cgit