diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2006-10-27 00:39:57 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2006-10-27 00:39:57 (GMT) |
commit | 69ba11554c721b6f8f3cc0fd8b033dc5e287ccea (patch) | |
tree | b04d1d7a9d6a2578cc67ebc59c1f4f6393081ab6 /generic/tclProc.c | |
parent | 308af5498280e9cc453d94bc6caa9e15f67c96bc (diff) | |
download | tcl-69ba11554c721b6f8f3cc0fd8b033dc5e287ccea.zip tcl-69ba11554c721b6f8f3cc0fd8b033dc5e287ccea.tar.gz tcl-69ba11554c721b6f8f3cc0fd8b033dc5e287ccea.tar.bz2 |
* generic/tclProc.c (SetLambdaFromAny): minor change, eliminate
redundant call to Tcl_GetString (thanks aku).
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r-- | generic/tclProc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c index cff6bef..74d6ebd 100644 --- a/generic/tclProc.c +++ b/generic/tclProc.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclProc.c,v 1.99 2006/10/24 22:31:09 msofer Exp $ + * RCS: @(#) $Id: tclProc.c,v 1.100 2006/10/27 00:39:57 msofer Exp $ */ #include "tclInt.h" @@ -2027,7 +2027,7 @@ SetLambdaFromAny( bodyPtr, &procPtr) != TCL_OK) { TclFormatToErrorInfo(interp, "\n (parsing lambda expression \"%s\")", - Tcl_GetString(objPtr), NULL); + name, NULL); return TCL_ERROR; } |