diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-24 20:33:04 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-24 20:33:04 +0000 |
commit | f58eb1e276a2db3ff2062c80a7acf97860aca8ca (patch) | |
tree | 88b03ca1962b2997f5f8e749c5f3e9c04965f100 /error.c | |
parent | 6bd0345627f383f1d1b041edba2a255ea4cdfb9b (diff) | |
download | ruby-f58eb1e276a2db3ff2062c80a7acf97860aca8ca.tar.gz |
* eval.c: remove ruby_current_node and change eval() prototype.
fix to use rb_sourcefile/line() instead of ruby_sourcefile/line.
* error.c, eval_error.ci, eval_load.c, eval_safe.ci, gc.c,
include/ruby/intern.h, parse.y, process.c, ruby.c: ditto.
* vm.c: fix spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -26,9 +26,6 @@ extern const char ruby_version[], ruby_release_date[], ruby_platform[]; int ruby_nerrs; -const char *rb_sourcefile(void); -int rb_sourceline(void); - static int err_position_0(char *buf, long len, const char *file, long line) { @@ -52,7 +49,7 @@ err_position(char *buf, long len) static int compile_position(char *buf, long len) { - return err_position_0(buf, len, ruby_sourcefile, ruby_sourceline); + return err_position_0(buf, len, rb_sourcefile(), rb_sourceline()); } static void |