aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-03-17 22:01:26 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-03-17 22:01:26 +0200
commitcd6b37514fd3eea9cc26a76514d487328a11a8ba (patch)
tree2568a171b735a02eaa41b340c99f5520b9fbd2a9 /debug.c
parent1a2dd672aa09d91eb7f3e72b12f387df2a507c7f (diff)
downloadegawk-cd6b37514fd3eea9cc26a76514d487328a11a8ba.tar.gz
egawk-cd6b37514fd3eea9cc26a76514d487328a11a8ba.tar.bz2
egawk-cd6b37514fd3eea9cc26a76514d487328a11a8ba.zip
Improve instruction dump of comments.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index 388b62bc..f5eaa779 100644
--- a/debug.c
+++ b/debug.c
@@ -4035,9 +4035,9 @@ 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, " {%s}\n",
+ fprintf(fp, " [comment_type = %s]\n",
pc->memory->comment_type == EOL_COMMENT ?
- "eol" : "full");
+ "EOL" : "FULL");
break;
case Op_push_i: