From 942677de5630b5d3121ac02372f2aaa1e82ca02b Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 1 Jul 2007 23:57:04 +0000 Subject: * eval_intern.h, yarvcore.h: move declaration of sysstack_error to yarvcore.h. * iseq.c: fix symbol name (:toplevel -> :top). * lib/vm/instruction.rb, template/vm.inc.tmpl: replacable current file name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/vm/instruction.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/vm/instruction.rb b/lib/vm/instruction.rb index 250bfcd42..20c0fb41d 100644 --- a/lib/vm/instruction.rb +++ b/lib/vm/instruction.rb @@ -839,7 +839,7 @@ module RubyVM file = insn.body.instance_variable_get(:@file) ret << "#line #{line+1} \"#{file}\"" << "\n" ret << insn.body - ret << '#line __CURRENT_LINE__ "vm.inc"' << "\n" + ret << '#line __CURRENT_LINE__ "__CURRENT_FILE__"' << "\n" else ret << insn.body end -- cgit