From f29f10ddd7901da0a7bd629393dcea66a4ff77f7 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Tue, 4 Feb 2014 18:53:51 +0900 Subject: [PATCH] clenaup debug message format --- src/codegen.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/codegen.c b/src/codegen.c index 03e1c899..59621d12 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -1363,7 +1363,7 @@ compile(pic_state *pic, pic_value obj) #if DEBUG fprintf(stderr, "ai = %d\n", pic_gc_arena_preserve(pic)); - fprintf(stderr, "## input expression\n"); + fprintf(stderr, "# input expression\n"); pic_debug(pic, obj); fprintf(stderr, "\n"); @@ -1402,8 +1402,10 @@ compile(pic_state *pic, pic_value obj) #if DEBUG fprintf(stderr, "## codegen completed\n"); pic_dump_irep(pic, irep); +#endif - fprintf(stderr, "## compilation finished\n"); +#if DEBUG + fprintf(stderr, "# compilation finished\n"); puts(""); #endif