aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-06 06:11:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-06 06:11:25 +0000
commitf52a49130fde7f0f884f0dafc10ff6c8d260473d (patch)
tree1d8085bb5fac96ba8adce7cd2e4bce36923e8afd /symbol.c
parenta15028bc38a6d2492803780acb7b55456a30051d (diff)
downloadruby-f52a49130fde7f0f884f0dafc10ff6c8d260473d.tar.gz
.gdbinit: print_id in rp_id [ci skip]
* .gdbinit (rp_id): use print_id instead of calling lookup_id_str() in a debugger context. * symbol.c (ID_ENTRY_UNIT): made visible to debuggers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbol.c b/symbol.c
index f4516ebbe4..45d49d20d9 100644
--- a/symbol.c
+++ b/symbol.c
@@ -51,7 +51,7 @@ Init_op_tbl(void)
}
}
-enum {ID_ENTRY_UNIT = 512};
+static const int ID_ENTRY_UNIT = 512;
enum id_entry_type {
ID_ENTRY_STR,