diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-01 23:57:04 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-01 23:57:04 +0000 |
commit | 942677de5630b5d3121ac02372f2aaa1e82ca02b (patch) | |
tree | afc7a1724250a16887613cd510519d5600cebad0 /lib/vm/instruction.rb | |
parent | 1ee162123da7944412b12a9aec1a1cde3fbe2938 (diff) | |
download | ruby-942677de5630b5d3121ac02372f2aaa1e82ca02b.tar.gz ruby-942677de5630b5d3121ac02372f2aaa1e82ca02b.tar.xz ruby-942677de5630b5d3121ac02372f2aaa1e82ca02b.zip |
* 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
Diffstat (limited to 'lib/vm/instruction.rb')
-rw-r--r-- | lib/vm/instruction.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |