summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2011-07-18 22:41:10 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2011-07-18 22:41:10 (GMT)
commit749ffd3fb84b317505043723c16c486bdbc0403a (patch)
tree38dedf33ca6b40f8beaa70d705321e640d47224f
parenta2773a3892302e9ae41289f228c157e55dbf2063 (diff)
downloadtcl-749ffd3fb84b317505043723c16c486bdbc0403a.zip
tcl-749ffd3fb84b317505043723c16c486bdbc0403a.tar.gz
tcl-749ffd3fb84b317505043723c16c486bdbc0403a.tar.bz2
Undocument long gone limitation of [upvar].
-rw-r--r--ChangeLog4
-rw-r--r--doc/upvar.n3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f9dbc26..0d6b8f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-19 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
+
+ * doc/upvar.n: Undocument long gone limitation of [upvar].
+
2011-07-15 Don Porter <dgp@users.sourceforge.net>
* generic/tclCompile.c: Avoid segfaults when RecordByteCodeStats()
diff --git a/doc/upvar.n b/doc/upvar.n
index 8985d24..60e5324 100644
--- a/doc/upvar.n
+++ b/doc/upvar.n
@@ -21,8 +21,7 @@ This command arranges for one or more local variables in the current
procedure to refer to variables in an enclosing procedure call or
to global variables.
\fILevel\fR may have any of the forms permitted for the \fBuplevel\fR
-command, and may be omitted if the first letter of the first \fIotherVar\fR
-is not \fB#\fR or a digit (it defaults to \fB1\fR).
+command, and may be omitted (it defaults to \fB1\fR).
For each \fIotherVar\fR argument, \fBupvar\fR makes the variable
by that name in the procedure frame given by \fIlevel\fR (or at
global level, if \fIlevel\fR is \fB#0\fR) accessible