summaryrefslogtreecommitdiff
path: root/lib/vm
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-01 23:57:04 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-01 23:57:04 +0000
commit9c708baa2de1db5eb3541459385967c9b6a8dbd4 (patch)
treeafc7a1724250a16887613cd510519d5600cebad0 /lib/vm
parent1ccf555a707324facc28f8a8f075c5e23a0a359d (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@12677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/vm')
-rw-r--r--lib/vm/instruction.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vm/instruction.rb b/lib/vm/instruction.rb
index 250bfcd422..20c0fb41da 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