From 493025c3afc4cd8fb6dd96b17a5d908169175b37 Mon Sep 17 00:00:00 2001 From: Mitchell Blank Jr Date: Wed, 14 May 2014 14:13:56 -0700 Subject: print_r() and print_lv() should only be compiled in for ENABLE_STDIO --- src/codegen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/codegen.c b/src/codegen.c index 451b38129..a1564d955 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -2638,6 +2638,7 @@ loop_pop(codegen_scope *s, int val) if (val) push(); } +#ifdef ENABLE_STDIO static int 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) } printf("\n"); } +#endif static void codedump(mrb_state *mrb, mrb_irep *irep) -- cgit v1.2.3 From 688602eb811502fe4400ef84ae50f84dd04962e2 Mon Sep 17 00:00:00 2001 From: Mitchell Blank Jr Date: Wed, 14 May 2014 14:15:13 -0700 Subject: Fix incorrect info in minirake's help message -- "-q" is the default, not "-v" --- minirake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minirake b/minirake index 824e9b598..bdaef0b87 100755 --- a/minirake +++ b/minirake @@ -310,7 +310,7 @@ class RakeApp ['--nosearch', '-N', GetoptLong::NO_ARGUMENT, "Do not search parent directories for the Rakefile."], ['--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, "Use FILE as the rakefile."], ['--require', '-r', GetoptLong::REQUIRED_ARGUMENT, @@ -324,7 +324,7 @@ class RakeApp ['--usage', '-h', GetoptLong::NO_ARGUMENT, "Display usage."], ['--verbose', '-v', GetoptLong::NO_ARGUMENT, - "Log message to standard output (default)."], + "Log message to standard output."], ['--directory', '-C', GetoptLong::REQUIRED_ARGUMENT, "Change executing directory of rakefiles."] ] -- cgit v1.2.3