From be19ed07236736fae25336d62c548f4b8c9fd6e8 Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Thu, 6 Apr 2017 15:05:00 +0900 Subject: [PATCH] mrb: upgrade to the latest mruby --- lib/mrb.c | 1 + vendor/mruby-source | 2 +- vendor/mruby/version | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/mrb.c b/lib/mrb.c index 09704a328a..34f65d335c 100644 --- a/lib/mrb.c +++ b/lib/mrb.c @@ -207,6 +207,7 @@ grn_mrb_load(grn_ctx *ctx, const char *path) { struct RProc *proc; proc = mrb_generate_code(mrb, parser); + proc->target_class = mrb->object_class; result = mrb_toplevel_run(mrb, proc); } mrb_parser_free(parser); diff --git a/vendor/mruby-source b/vendor/mruby-source index 9d3167cabe..e5b61d34f6 160000 --- a/vendor/mruby-source +++ b/vendor/mruby-source @@ -1 +1 @@ -Subproject commit 9d3167cabe64b61ce707a00a3a3108b580cf5d11 +Subproject commit e5b61d34f65cabfbe88f3f1709a1f9cff86585de diff --git a/vendor/mruby/version b/vendor/mruby/version index 998307806c..232c2993a6 100644 --- a/vendor/mruby/version +++ b/vendor/mruby/version @@ -1 +1 @@ -1.0.0-3239-g9d3167c +1.0.0-3861-ge5b61d34