summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tools/mrbc/mrbc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/mrbc/mrbc.c b/tools/mrbc/mrbc.c
index 4e17d6890..4803b5db7 100644
--- a/tools/mrbc/mrbc.c
+++ b/tools/mrbc/mrbc.c
@@ -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);
@@ -31,7 +32,7 @@ usage(const char *name)
"switches:",
"-c check syntax only",
"-o<outfile> place the output into <outfile>",
- "-v print version number, then trun on verbose mode",
+ "-v print version number, then turn on verbose mode",
"-g produce debugging information",
"-B<symbol> binary <symbol> output in C language format",
"--verbose run at verbose mode",
@@ -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 *
@@ -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;
}