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)
commit28155c8eab47a927fe919db3b537dde2ef01366b (patch)
tree38dedf33ca6b40f8beaa70d705321e640d47224f
parent1862ab1259270b5a83e955528dccc4b63c652648 (diff)
downloadtcl-28155c8eab47a927fe919db3b537dde2ef01366b.zip
tcl-28155c8eab47a927fe919db3b537dde2ef01366b.tar.gz
tcl-28155c8eab47a927fe919db3b537dde2ef01366b.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