gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-306


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-3060-gb58ed88
Date: Wed, 10 Oct 2018 13:20:57 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-4.2-stable has been updated
       via  b58ed880ff03d08d8f5e214344addbbcf39749c2 (commit)
      from  764fda37790896df62e79a24df19b9cdf5ecc27a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=b58ed880ff03d08d8f5e214344addbbcf39749c2

commit b58ed880ff03d08d8f5e214344addbbcf39749c2
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Oct 10 20:20:29 2018 +0300

    Fix Op_comment in debug.c:print_instruction.

diff --git a/ChangeLog b/ChangeLog
index 57d198b..341d7f0 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-10         Arnold D. Robbins     <address@hidden>
+
+       * 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     <address@hidden>
 
        * custom.h (__builtin_expect): Define for non-GNU compilers.
diff --git a/debug.c b/debug.c
index 1ca93cc..b24a8db 100644
--- a/debug.c
+++ b/debug.c
@@ -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;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog | 5 +++++
 debug.c   | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]