summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-02-24 11:27:56 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-02-24 11:27:56 +0200
commitaa1b4369afce6cc1d695fbafced7d02edf1586ea (patch)
tree6f97e70321bb544e3b6b8965ab5e5379c83c761d
parent6985181ce58fa980f3007e866aa3a30b4c54048c (diff)
downloadgawk-dead-branches/detect-local.tar.gz
Add README.local explaining the branch.dead-branches/detect-local
-rw-r--r--README.local28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.local b/README.local
new file mode 100644
index 00000000..32259dbf
--- /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
+arnold@skeeve.com