summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-20 01:38:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-20 01:38:04 +0000
commit86c19d0baf4d9169a943e9028709365d602d17bd (patch)
tree812149ffc2ca8d55635c534f9f51895c1130141d
parent99a0c77bb5c2caab783fc3e7f3edb52cd62b7c12 (diff)
downloadruby-86c19d0baf4d9169a943e9028709365d602d17bd.tar.gz
ruby-86c19d0baf4d9169a943e9028709365d602d17bd.tar.xz
ruby-86c19d0baf4d9169a943e9028709365d602d17bd.zip
rdoc
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--hash.c1
-rw-r--r--parse.y3
-rw-r--r--re.c9
3 files changed, 13 insertions, 0 deletions
diff --git a/hash.c b/hash.c
index 4fd2dd0a0..270553005 100644
--- a/hash.c
+++ b/hash.c
@@ -613,6 +613,7 @@ rb_hash_key(hash, value)
return args[1];
}
+/* :nodoc: */
static VALUE
rb_hash_index(hash, value)
VALUE hash, value;
diff --git a/parse.y b/parse.y
index 22bbabf0d..e537858b0 100644
--- a/parse.y
+++ b/parse.y
@@ -8218,6 +8218,7 @@ parser_new()
#ifdef RIPPER_DEBUG
extern int rb_is_pointer_to_heap _((VALUE));
+/* :nodoc: */
static VALUE
ripper_validate_object(self, x)
VALUE self, x;
@@ -8696,6 +8697,7 @@ ripper_lineno(self)
}
#ifdef RIPPER_DEBUG
+/* :nodoc: */
static VALUE
ripper_assert_Qundef(self, obj, msg)
VALUE self, obj, msg;
@@ -8707,6 +8709,7 @@ ripper_assert_Qundef(self, obj, msg)
return Qnil;
}
+/* :nodoc: */
static VALUE
ripper_value(self, obj)
VALUE self, obj;
diff --git a/re.c b/re.c
index 8427535be..daa179d81 100644
--- a/re.c
+++ b/re.c
@@ -1530,6 +1530,15 @@ rb_reg_match_pos(re, str, pos)
return LONG2FIX(pos);
}
+/*
+ * call-seq:
+ * rxp =~ str => integer or nil
+ *
+ * Match---Matches <i>rxp</i> against <i>str</i>.
+ *
+ * /at/ =~ "input data" #=> 7
+ */
+
VALUE
rb_reg_match(re, str)
VALUE re, str;