clenaup debug message format

This commit is contained in:
Yuichi Nishiwaki 2014-02-04 18:53:51 +09:00
parent 060fb227a7
commit f29f10ddd7
1 changed files with 4 additions and 2 deletions

View File

@ -1363,7 +1363,7 @@ compile(pic_state *pic, pic_value obj)
#if DEBUG #if DEBUG
fprintf(stderr, "ai = %d\n", pic_gc_arena_preserve(pic)); fprintf(stderr, "ai = %d\n", pic_gc_arena_preserve(pic));
fprintf(stderr, "## input expression\n"); fprintf(stderr, "# input expression\n");
pic_debug(pic, obj); pic_debug(pic, obj);
fprintf(stderr, "\n"); fprintf(stderr, "\n");
@ -1402,8 +1402,10 @@ compile(pic_state *pic, pic_value obj)
#if DEBUG #if DEBUG
fprintf(stderr, "## codegen completed\n"); fprintf(stderr, "## codegen completed\n");
pic_dump_irep(pic, irep); pic_dump_irep(pic, irep);
#endif
fprintf(stderr, "## compilation finished\n"); #if DEBUG
fprintf(stderr, "# compilation finished\n");
puts(""); puts("");
#endif #endif