Kouhei Sutou
null+****@clear*****
Mon Dec 22 23:46:50 JST 2014
Kouhei Sutou 2014-12-22 23:46:50 +0900 (Mon, 22 Dec 2014) New Revision: 9c1bd22a0c640af4e6877ae6c394c7c8a833f11a https://github.com/groonga/groonga/commit/9c1bd22a0c640af4e6877ae6c394c7c8a833f11a Message: mrb: fix indent Modified files: lib/mrb.c Modified: lib/mrb.c (+13 -13) =================================================================== --- lib/mrb.c 2014-12-22 16:06:15 +0900 (7f3d94e) +++ lib/mrb.c 2014-12-22 23:46:50 +0900 (e6e573b) @@ -140,21 +140,21 @@ grn_mrb_load(grn_ctx *ctx, const char *path) last_directory[0] = '\0'; } - parser = mrb_parser_new(mrb); - mrb_parser_set_filename(parser, expanded_path); - parser->s = parser->send = NULL; - parser->f = file; - mrb_parser_parse(parser, NULL); - fclose(file); + parser = mrb_parser_new(mrb); + mrb_parser_set_filename(parser, expanded_path); + parser->s = parser->send = NULL; + parser->f = file; + mrb_parser_parse(parser, NULL); + fclose(file); - { - struct RProc *proc; - proc = mrb_generate_code(mrb, parser); - result = mrb_toplevel_run(mrb, proc); - } - mrb_parser_free(parser); + { + struct RProc *proc; + proc = mrb_generate_code(mrb, parser); + result = mrb_toplevel_run(mrb, proc); + } + mrb_parser_free(parser); - strcpy(data->base_directory, current_base_directory); + strcpy(data->base_directory, current_base_directory); } return result; -------------- next part -------------- HTML����������������������������... Descargar