summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 15:43:00 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 15:43:00 +0000
commite8b7ad0f5c93edb90f3eed38ce3ec91d3d34df84 (patch)
tree32b07aeaf9f163e0f9b0ebbd5c636d8a06a351f7 /eval.c
parentcd047935e48ec48503e7e24001630cb5536578fb (diff)
enable documents for raise and local_variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/eval.c b/eval.c
index 3b59db95c8..8dee8cb593 100644
--- a/eval.c
+++ b/eval.c
@@ -745,6 +745,8 @@ rb_interrupt(void)
rb_raise(rb_eInterrupt, fmt);
}
+static VALUE get_errinfo(void);
+
/*
* call-seq:
* raise
@@ -769,8 +771,6 @@ rb_interrupt(void)
* raise ArgumentError, "No parameters", caller
*/
-static VALUE get_errinfo(void);
-
static VALUE
rb_f_raise(int argc, VALUE *argv)
{
@@ -2599,6 +2599,8 @@ errat_setter(VALUE val, ID id, VALUE *var)
set_backtrace(err, val);
}
+int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary);
+
/*
* call-seq:
* local_variables => array
@@ -2612,8 +2614,6 @@ errat_setter(VALUE val, ID id, VALUE *var)
* local_variables #=> ["fred", "i"]
*/
-int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary);
-
static VALUE
rb_f_local_variables(void)
{