summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-10-15 12:49:41 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-10-15 12:49:41 +0900
commita7c9a71684fccf8121f16803f8e3d758f0dea001 (patch)
tree0c6d48062d84fa4afef1e55842452f9f8cac98e0 /include/mruby.h
parent8ecbff3f7ba38709ed8dcd6c993456883b33d218 (diff)
downloadmruby-a7c9a71684fccf8121f16803f8e3d758f0dea001.tar.gz
mruby-a7c9a71684fccf8121f16803f8e3d758f0dea001.zip
better error position display
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mruby.h b/include/mruby.h
index d8c04d1fa..b3dc59a08 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -55,7 +55,8 @@ typedef struct {
int stackidx;
int nregs;
int argc;
- mrb_code *pc;
+ mrb_code *pc; /* return address */
+ mrb_code *err; /* error position */
int acc;
struct RClass *target_class;
int ridx;