summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-07-03 21:13:10 +0900
committerYukihiro Matsumoto <[email protected]>2012-07-03 21:13:10 +0900
commit39689441e78c59fb92d7563ed40f14287df9b575 (patch)
tree7b6b33c51b4ffdd3b78267dc79e005a038531247 /tools
parente81449557646b184e6367706273e8c0b4c53668d (diff)
downloadmruby-39689441e78c59fb92d7563ed40f14287df9b575.tar.gz
mruby-39689441e78c59fb92d7563ed40f14287df9b575.zip
add context arg to mrb_parser_parse()
Diffstat (limited to 'tools')
-rw-r--r--tools/mirb/mirb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mirb/mirb.c b/tools/mirb/mirb.c
index 35558acfb..fb61dd272 100644
--- a/tools/mirb/mirb.c
+++ b/tools/mirb/mirb.c
@@ -196,7 +196,7 @@ main(void)
parser->send = ruby_code + strlen(ruby_code);
parser->capture_errors = 1;
parser->lineno = 1;
- mrb_parser_parse(parser);
+ mrb_parser_parse(parser, NULL);
code_block_open = is_code_block_open(parser);
if (code_block_open) {