source position added to exception representation

This commit is contained in:
Yukihiro Matsumoto
2012-08-31 15:58:33 +09:00
parent 3e924e887f
commit f114916610
3 changed files with 57 additions and 9 deletions
+4 -1
View File
@@ -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;