remove TT_REGEX and TT_MATCH

This commit is contained in:
Yukihiro Matz Matsumoto
2013-02-18 16:18:19 +09:00
parent eb14c15e99
commit 59a6d1b514
4 changed files with 12 additions and 25 deletions
-1
View File
@@ -173,7 +173,6 @@ mrb_obj_id(mrb_value obj)
case MRB_TT_RANGE:
case MRB_TT_STRUCT:
case MRB_TT_EXCEPTION:
case MRB_TT_MATCH:
case MRB_TT_FILE:
case MRB_TT_DATA:
default:
-2
View File
@@ -379,12 +379,10 @@ static const struct types {
{MRB_TT_HASH, "Hash"},
{MRB_TT_STRING, "String"},
{MRB_TT_RANGE, "Range"},
{MRB_TT_REGEX, "Regexp"},
{MRB_TT_STRUCT, "Struct"},
// {MRB_TT_BIGNUM, "Bignum"},
{MRB_TT_FILE, "File"},
{MRB_TT_DATA, "Data"}, /* internal use: wrapped C pointers */
{MRB_TT_MATCH, "MatchData"}, /* data of $~ */
// {MRB_TT_VARMAP, "Varmap"}, /* internal use: dynamic variables */
// {MRB_TT_NODE, "Node"}, /* internal use: syntax tree node */
// {MRB_TT_UNDEF, "undef"}, /* internal use: #undef; should not happen */