summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 03:07:45 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 03:07:45 +0000
commita81daa68337f3aab6c616e7a377bf71bcbfb8cc3 (patch)
tree0ed294d7f1c98501930a690d60d328e4c68120e3 /vm_core.h
parentee56b1655250ce36d2ca40d174ea244437265602 (diff)
merges r27716 from trunk into ruby_1_9_2.
-- * 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/branches/ruby_1_9_2@27810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 59278dcb62..4479df6ac0 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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 */