From 41edaf1cd6848eae8abba7ad3b09f8cba771e4d3 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 16 Oct 2007 09:17:28 +0000 Subject: * ruby.c (RUBY_ENCODING_SHIFT): added as enum. * .gdbinit (rp): show encoding and coderange for strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index c39731385..8c86ddfd4 100644 --- a/ruby.c +++ b/ruby.c @@ -59,6 +59,9 @@ static const union { enum ruby_special_consts special_consts; enum ruby_value_type value_type; enum node_type node_type; + enum { + RUBY_ENCODING_SHIFT = ENCODING_SHIFT + } various; } dummy_gdb_enums; const VALUE RUBY_FL_MARK = FL_MARK; -- cgit