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-1674-g2f5c47


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1674-g2f5c47f
Date: Sun, 28 Feb 2016 03:41:25 +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  2f5c47f4b4dae03545168094e504b3657debecf9 (commit)
      from  97ffbd91a1b49725259bb2ddf0d27341d6fd4f60 (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=2f5c47f4b4dae03545168094e504b3657debecf9

commit 2f5c47f4b4dae03545168094e504b3657debecf9
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Feb 28 05:40:41 2016 +0200

    Fix copy-paste error in profiler's else handling.

diff --git a/ChangeLog b/ChangeLog
index e9c9bda..25a83a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-28         Arnold D. Robbins     <address@hidden>
+
+       * profile.c (pprint): Fix copy-paste error in else handling.
+       Thanks to Michal Jaegermann for the report.
+
 2016-02-23         Arnold D. Robbins     <address@hidden>
 
        * config.guess, config.rpath, config.sub: Update to latest
diff --git a/profile.c b/profile.c
index ddc8b9b..64aeaa9 100644
--- a/profile.c
+++ b/profile.c
@@ -933,7 +933,7 @@ cleanup:
                            && pc->branch_end == 
pc->nexti->nexti->branch_else->lasti) {
                                pprint(pc->nexti, pc->branch_end, IN_ELSE_IF);
                        } else {
-                               fprintf(prof_fp, "{\n", op2str(pc->opcode));
+                               fprintf(prof_fp, "{\n");
                                indent_in();
                                pprint(pc->nexti, pc->branch_end, 
NO_PPRINT_FLAGS);
                                indent_out();

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

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


hooks/post-receive
-- 
gawk



reply via email to

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