Commit 157bebf4 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2255 from mitchblank/master

two trivial fixes
parents 6f6f50d5 688602eb
...@@ -310,7 +310,7 @@ class RakeApp ...@@ -310,7 +310,7 @@ class RakeApp
['--nosearch', '-N', GetoptLong::NO_ARGUMENT, ['--nosearch', '-N', GetoptLong::NO_ARGUMENT,
"Do not search parent directories for the Rakefile."], "Do not search parent directories for the Rakefile."],
['--quiet', '-q', GetoptLong::NO_ARGUMENT, ['--quiet', '-q', GetoptLong::NO_ARGUMENT,
"Do not log messages to standard output."], "Do not log messages to standard output (default)."],
['--rakefile', '-f', GetoptLong::REQUIRED_ARGUMENT, ['--rakefile', '-f', GetoptLong::REQUIRED_ARGUMENT,
"Use FILE as the rakefile."], "Use FILE as the rakefile."],
['--require', '-r', GetoptLong::REQUIRED_ARGUMENT, ['--require', '-r', GetoptLong::REQUIRED_ARGUMENT,
...@@ -324,7 +324,7 @@ class RakeApp ...@@ -324,7 +324,7 @@ class RakeApp
['--usage', '-h', GetoptLong::NO_ARGUMENT, ['--usage', '-h', GetoptLong::NO_ARGUMENT,
"Display usage."], "Display usage."],
['--verbose', '-v', GetoptLong::NO_ARGUMENT, ['--verbose', '-v', GetoptLong::NO_ARGUMENT,
"Log message to standard output (default)."], "Log message to standard output."],
['--directory', '-C', GetoptLong::REQUIRED_ARGUMENT, ['--directory', '-C', GetoptLong::REQUIRED_ARGUMENT,
"Change executing directory of rakefiles."] "Change executing directory of rakefiles."]
] ]
......
...@@ -2638,6 +2638,7 @@ loop_pop(codegen_scope *s, int val) ...@@ -2638,6 +2638,7 @@ loop_pop(codegen_scope *s, int val)
if (val) push(); if (val) push();
} }
#ifdef ENABLE_STDIO
static int static int
print_r(mrb_state *mrb, mrb_irep *irep, size_t n, int pre) print_r(mrb_state *mrb, mrb_irep *irep, size_t n, int pre)
{ {
...@@ -2680,6 +2681,7 @@ print_lv(mrb_state *mrb, mrb_irep *irep, mrb_code c, int r) ...@@ -2680,6 +2681,7 @@ print_lv(mrb_state *mrb, mrb_irep *irep, mrb_code c, int r)
} }
printf("\n"); printf("\n");
} }
#endif
static void static void
codedump(mrb_state *mrb, mrb_irep *irep) codedump(mrb_state *mrb, mrb_irep *irep)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment