summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-08-31 15:58:33 +0900
committerYukihiro Matsumoto <[email protected]>2012-08-31 15:58:33 +0900
commitf114916610a8cd16dd9fe6d5ebca9d5a8868b04c (patch)
tree7340c75bb41b7ae3af26289d57041f33c461a061 /include
parent3e924e887fb2e9e2123f8002879ef81e597d08b9 (diff)
downloadmruby-f114916610a8cd16dd9fe6d5ebca9d5a8868b04c.tar.gz
mruby-f114916610a8cd16dd9fe6d5ebca9d5a8868b04c.zip
source position added to exception representation
Diffstat (limited to 'include')
-rw-r--r--include/mruby/irep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index 9ff523d33..0d8a05dbe 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -18,10 +18,13 @@ typedef struct mrb_irep {
int nregs;
mrb_code *iseq;
- short *lines;
mrb_value *pool;
mrb_sym *syms;
+ /* debug info */
+ const char *filename;
+ short *lines;
+
int ilen, plen, slen;
} mrb_irep;