diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-05-17 23:46:55 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-05-17 23:46:55 +0900 |
| commit | 434ed1ed7c53ecedf78bd471c67d7cb9e9f1dc88 (patch) | |
| tree | 62704e8c182cf41d08b0d2c02fae4c49f36cb264 /src/compile.h | |
| parent | 0bae9c505ce291e31dd799e73059be465bd45029 (diff) | |
| download | mruby-434ed1ed7c53ecedf78bd471c67d7cb9e9f1dc88.tar.gz mruby-434ed1ed7c53ecedf78bd471c67d7cb9e9f1dc88.zip | |
compile error should contain line number
Diffstat (limited to 'src/compile.h')
| -rw-r--r-- | src/compile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compile.h b/src/compile.h index 19894f3aa..ba1dfd2ee 100644 --- a/src/compile.h +++ b/src/compile.h @@ -77,13 +77,13 @@ struct mrb_parser_state { jmp_buf jmp; }; -struct mrb_parser_state* mrb_parse_file(mrb_state*,FILE*); +struct mrb_parser_state* mrb_parse_file(mrb_state*,FILE*,const char*,int); struct mrb_parser_state* mrb_parse_string(mrb_state*,const char*); struct mrb_parser_state* mrb_parse_nstring(mrb_state*,const char*,size_t); struct mrb_parser_state* mrb_parse_nstring_ext(mrb_state*,const char*,size_t); int mrb_generate_code(mrb_state*, mrb_ast_node*); -int mrb_compile_file(mrb_state*,FILE*); +int mrb_compile_file(mrb_state*,FILE*,const char*,int); int mrb_compile_string(mrb_state*,char*); int mrb_compile_nstring(mrb_state*,char*,size_t); |
