summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-08-29 15:09:14 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-08-29 15:09:14 +0900
commit3c4cd5428a1cfc43516f57506c1faf775c2a4abc (patch)
treeb16e23cb072e8b9cd541c0178cbb4d02a304c8d5 /src/parse.y
parent56384139a842f5ffd0ed9609d81fde53050549da (diff)
downloadmruby-3c4cd5428a1cfc43516f57506c1faf775c2a4abc.tar.gz
mruby-3c4cd5428a1cfc43516f57506c1faf775c2a4abc.zip
allow no_optimize esp. for debugger
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse.y b/src/parse.y
index 7a3088f0e..d73ef8d1e 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -5330,6 +5330,7 @@ parser_init_cxt(parser_state *p, mrbc_context *cxt)
}
}
p->capture_errors = cxt->capture_errors;
+ p->no_optimize = cxt->no_optimize;
if (cxt->partial_hook) {
p->cxt = cxt;
}