diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-09 18:41:51 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-09 18:41:51 +0000 |
commit | b8571b4285fc222f51d2edaaa6dedde8654e0faf (patch) | |
tree | 8fa053f13f37eb57fe0227355538b0fc2c5135fc /vm_core.h | |
parent | d49052b5970147a90b653f76ba18bd9af7a971ed (diff) | |
download | ruby-b8571b4285fc222f51d2edaaa6dedde8654e0faf.tar.gz |
* vm_eval.c (eval_string_with_cref): propagative filename and line_no
of binding. [ruby-dev:38767] [ruby-core:28307]
* vm_core.h (rb_binding_t), proc.c: add filename and line_no fields to
preserve them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -524,6 +524,8 @@ typedef struct { typedef struct { VALUE env; + VALUE filename; + unsigned short line_no; } rb_binding_t; /* used by compile time and send insn */ |