gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, zos-debug, created. gawk-4.1.0-4252-g751bcb6


From: Arnold Robbins
Subject: [SCM] gawk branch, zos-debug, created. gawk-4.1.0-4252-g751bcb6
Date: Sun, 23 May 2021 14:29:45 -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, zos-debug has been created
        at  751bcb6df561edb12f16a1f5f35f499f82844e1f (commit)

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

commit 751bcb6df561edb12f16a1f5f35f499f82844e1f
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sun May 23 21:29:28 2021 +0300

    Add debugging stuff.

diff --git a/awkgram.c b/awkgram.c
index bd41a1a..d453742 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -6980,6 +6980,11 @@ make_instruction:
                                yylval->builtin_idx = mid;
                        break;
                }
+               if (strcmp(tokstart, "delete") == 0) {
+                       static int counter = 0;
+                       if (++counter == 4)
+                               stopme(NULL);
+               }
                return lasttok = class;
        }
 out:
diff --git a/awkgram.y b/awkgram.y
index e4c9708..67b0e77 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -4478,6 +4478,11 @@ make_instruction:
                                yylval->builtin_idx = mid;
                        break;
                }
+               if (strcmp(tokstart, "delete") == 0) {
+                       static int counter = 0;
+                       if (++counter == 4)
+                               stopme(NULL);
+               }
                return lasttok = class;
        }
 out:

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


hooks/post-receive
-- 
gawk



reply via email to

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