gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1702-gcd6b37


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1702-gcd6b375
Date: Thu, 17 Mar 2016 20:01:45 +0000

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, master has been updated
       via  cd6b37514fd3eea9cc26a76514d487328a11a8ba (commit)
      from  1a2dd672aa09d91eb7f3e72b12f387df2a507c7f (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=cd6b37514fd3eea9cc26a76514d487328a11a8ba

commit cd6b37514fd3eea9cc26a76514d487328a11a8ba
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Mar 17 22:01:26 2016 +0200

    Improve instruction dump of comments.

diff --git a/ChangeLog b/ChangeLog
index 05b3bfa..52965d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-17         Arnold D. Robbins     <address@hidden>
+
+       * debug.c (print_instruction): For Op_comment, improve notation as
+       to whether it's a full comment or an end of line comment.
+
 2016-03-14         Arnold D. Robbins     <address@hidden>
 
        * io.c (socketopen): For SOCK_DGRAM, set read_len to sizeof
diff --git a/debug.c b/debug.c
index 388b62b..f5eaa77 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:

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

Summary of changes:
 ChangeLog |    5 +++++
 debug.c   |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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