summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-06 06:11:25 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-06 06:11:25 (GMT)
commitf52a49130fde7f0f884f0dafc10ff6c8d260473d (patch)
tree1d8085bb5fac96ba8adce7cd2e4bce36923e8afd /symbol.c
parenta15028bc38a6d2492803780acb7b55456a30051d (diff)
.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 f4516eb..45d49d2 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,