gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, easter-eggs/detect-local, updated. gawk-


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, easter-eggs/detect-local, updated. gawk-4.1.0-2441-gaa1b436
Date: Fri, 24 Feb 2017 04:28:15 -0500 (EST)

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, easter-eggs/detect-local has been updated
       via  aa1b4369afce6cc1d695fbafced7d02edf1586ea (commit)
      from  6985181ce58fa980f3007e866aa3a30b4c54048c (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=aa1b4369afce6cc1d695fbafced7d02edf1586ea

commit aa1b4369afce6cc1d695fbafced7d02edf1586ea
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Feb 24 11:27:56 2017 +0200

    Add README.local explaining the branch.

diff --git a/README.local b/README.local
new file mode 100644
index 0000000..32259db
--- /dev/null
+++ b/README.local
@@ -0,0 +1,28 @@
+Fri Feb 24 11:25:25 IST 2017
+============================
+
+This branch was an attempt to make it possible for an extension
+function to distinguish those function parameters that are
+truly local from those may have had an uninitialized variable
+passed to them. That part of it worked, see test/islocal.awk.
+
+However, it's not complete. As Andrew Schorr pointed out,
+this program did not work:
+
+       function foo(x) {
+          print islocal(x)
+          x = 1
+          print islocal(x)
+          x++
+          print islocal(x)
+       }
+
+       BEGIN {
+          foo()
+       }
+
+As this feature wasn't seen to be very compelling, and making it
+work well would be too much work, this branch is being abandoned.
+
+Arnold Robbins
address@hidden

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

Summary of changes:
 README.local | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 README.local


hooks/post-receive
-- 
gawk



reply via email to

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