Skip to content

Commit

Permalink
Minor code format changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonmcdonald committed Apr 17, 2013
1 parent 4b24ee1 commit 3d0bbd9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/mrbc/mrbc.c
Expand Up @@ -8,6 +8,7 @@

#define RITEBIN_EXT ".mrb"
#define C_EXT ".c"

void mrb_show_version(mrb_state *);
void mrb_show_copyright(mrb_state *);
void parser_dump(mrb_state*, struct mrb_ast_node*, int);
Expand Down Expand Up @@ -43,7 +44,7 @@ usage(const char *name)

printf("Usage: %s [switches] programfile\n", name);
while(*p)
printf(" %s\n", *p++);
printf(" %s\n", *p++);
}

static char *
Expand Down Expand Up @@ -162,7 +163,8 @@ parse_args(mrb_state *mrb, int argc, char **argv, struct _args *args)
goto exit;
}
}
exit:

exit:
if (outfile && infile != outfile) mrb_free(mrb, outfile);
return result;
}
Expand Down

0 comments on commit 3d0bbd9

Please sign in to comment.