summaryrefslogtreecommitdiffhomepage
path: root/include
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 /include
parente81449557646b184e6367706273e8c0b4c53668d (diff)
downloadmruby-39689441e78c59fb92d7563ed40f14287df9b575.tar.gz
mruby-39689441e78c59fb92d7563ed40f14287df9b575.zip
add context arg to mrb_parser_parse()
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index 401f52854..c4e480577 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -98,7 +98,7 @@ struct mrb_parser_state {
struct mrb_parser_state* mrb_parser_new(mrb_state*);
const char *mrb_parser_filename(struct mrb_parser_state*, const char*);
-void mrb_parser_parse(struct mrb_parser_state*);
+void mrb_parser_parse(struct mrb_parser_state*,mrbc_context*);
/* utility functions */
struct mrb_parser_state* mrb_parse_file(mrb_state*,FILE*,mrbc_context*);