aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-24 19:23:24 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-24 19:23:24 +0000
commit6bd0345627f383f1d1b041edba2a255ea4cdfb9b (patch)
treec1455cc27728e449a71956d95c6fdaf0c541f9e3 /eval.c
parent144ff322c7adcc600139da1cfacf0e98010c1bce (diff)
downloadruby-6bd0345627f383f1d1b041edba2a255ea4cdfb9b.tar.gz
* eval_*.h: rename to eval_*.ci.
* common.mk: ditto. * eval_error.ci: remove ruby_set_current_source(). * error.c, eval.c, ruby.c: ditto. * eval_safe.c, proc.c: remove unused macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/eval.c b/eval.c
index 65f972918f..e156c9c263 100644
--- a/eval.c
+++ b/eval.c
@@ -40,10 +40,10 @@ static VALUE eval(VALUE, VALUE, VALUE, char *, int);
static inline VALUE rb_yield_0(int argc, VALUE *argv);
static VALUE rb_call(VALUE, VALUE, ID, int, const VALUE *, int);
-#include "eval_error.h"
-#include "eval_method.h"
-#include "eval_safe.h"
-#include "eval_jump.h"
+#include "eval_error.ci"
+#include "eval_method.ci"
+#include "eval_safe.ci"
+#include "eval_jump.ci"
/* initialize ruby */
@@ -691,7 +691,6 @@ rb_longjmp(int tag, VALUE mesg)
mesg = rb_exc_new(rb_eRuntimeError, 0, 0);
}
- ruby_set_current_source();
if (ruby_sourcefile && !NIL_P(mesg)) {
at = get_backtrace(mesg);
if (NIL_P(at)) {
@@ -1708,7 +1707,6 @@ eval(VALUE self, VALUE src, VALUE scope, char *file, int line)
NODE *stored_cref_stack = 0;
if (file == 0) {
- ruby_set_current_source();
file = ruby_sourcefile;
line = ruby_sourceline;
}