Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
6170cfea
Commit
6170cfea
authored
Apr 17, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1186 from carsonmcdonald/mrbcfixup
Minor format changes and a typo fix
parents
2d6ff9e8
204ff73f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
tools/mrbc/mrbc.c
tools/mrbc/mrbc.c
+5
-3
No files found.
tools/mrbc/mrbc.c
View file @
6170cfea
...
...
@@ -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 t
ru
n on verbose mode"
,
"-v print version number, then t
ur
n on verbose mode"
,
"-g produce debugging information"
,
"-B<symbol> binary <symbol> output in C language format"
,
"--verbose run at verbose mode"
,
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment