summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-20 08:28:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-20 08:28:33 +0000
commitc0dba956d1bd798d2ce614dbc8573ab10bb44990 (patch)
tree320a164936a8ff648758b32db9c1a93e9511634b /defs
parent7f3b12f05b95745ae4766e085bf2d21298e4fa1b (diff)
id.def: predefine to_i
* defs/id.def: predefine `to_i` as well as `to_int`. * numeric.c (id_to_i): use predefined `idTo_i`. * object.c (conv_method_names): add `to_i` ID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs')
-rw-r--r--defs/id.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/defs/id.def b/defs/id.def
index 90d2e84..42386e5 100644
--- a/defs/id.def
+++ b/defs/id.def
@@ -35,6 +35,7 @@ firstline, predefined = __LINE__+1, %[\
to_io
to_a
to_s
+ to_i
_ UScore
"/*NULL*/" NULL