diff options
-rwxr-xr-x | ChangeLog | 5 | ||||
-rw-r--r-- | debug.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2018-10-10 Arnold D. Robbins <arnold@skeeve.com> + + * debug.c (print_instruction): For Op_comment, use print_func + instead of fprintf to print the comment type. + 2018-10-01 Nelson H.F. Beebe <beebe@math.utah.edu> * custom.h (__builtin_expect): Define for non-GNU compilers. @@ -4032,7 +4032,7 @@ print_instruction(INSTRUCTION *pc, Func_print print_func, FILE *fp, int in_dump) case Op_comment: print_memory(pc->memory, func, print_func, fp); - fprintf(fp, " [comment_type = %s]\n", + print_func(fp, " [comment_type = %s]\n", pc->memory->comment_type == EOL_COMMENT ? "EOL" : "FULL"); break; |