summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-27 15:03:06 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-27 15:03:06 +0900
commit0f432e90284e441c89faae9b5f183932750f469f (patch)
tree7212b0a31212deee84bbae442672dd5f256f5c87 /src
parent6cf5618b44962a35886629be4782c872e56ae428 (diff)
parent5fd1eaec58d58db5cd2525c40b3c1f8f3e426cfb (diff)
downloadmruby-0f432e90284e441c89faae9b5f183932750f469f.tar.gz
mruby-0f432e90284e441c89faae9b5f183932750f469f.zip
Merge pull request #2324 from yui-knk/fix-indent
fix indent.
Diffstat (limited to 'src')
-rw-r--r--src/parse.y26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/parse.y b/src/parse.y
index 217289aff..b3f5f6664 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -5336,20 +5336,20 @@ mrb_parser_parse(parser_state *p, mrbc_context *c)
MRB_TRY(p->jmp) {
- p->cmd_start = TRUE;
- p->in_def = p->in_single = 0;
- p->nerr = p->nwarn = 0;
- p->lex_strterm = NULL;
+ p->cmd_start = TRUE;
+ p->in_def = p->in_single = 0;
+ p->nerr = p->nwarn = 0;
+ p->lex_strterm = NULL;
- parser_init_cxt(p, c);
- yyparse(p);
- if (!p->tree) {
- p->tree = new_nil(p);
- }
- parser_update_cxt(p, c);
- if (c && c->dump_result) {
- mrb_parser_dump(p->mrb, p->tree, 0);
- }
+ parser_init_cxt(p, c);
+ yyparse(p);
+ if (!p->tree) {
+ p->tree = new_nil(p);
+ }
+ parser_update_cxt(p, c);
+ if (c && c->dump_result) {
+ mrb_parser_dump(p->mrb, p->tree, 0);
+ }
}
MRB_CATCH(p->jmp) {