diff options
author | dgp <dgp@users.sourceforge.net> | 2007-08-14 15:17:49 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-08-14 15:17:49 (GMT) |
commit | a12413b73ce0aa902e7ee0c7b345102eb2d98b8b (patch) | |
tree | 256323321dac21f9918d26c421248ca015e841a6 /generic/tclBasic.c | |
parent | 15e35c4d94b77542e2c32ff52ad370a9ef5008a3 (diff) | |
download | tcl-a12413b73ce0aa902e7ee0c7b345102eb2d98b8b.zip tcl-a12413b73ce0aa902e7ee0c7b345102eb2d98b8b.tar.gz tcl-a12413b73ce0aa902e7ee0c7b345102eb2d98b8b.tar.bz2 |
* generic/tclBasic.c: Use fully qualified variable names for
* tests/thread.test: ::errorInfo and ::errorCode so that string
* tests/trace.test: reported to variable traces are fully
qualified in agreement with Tcl 8.4 operations.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index e8aab2e..4605847 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.264 2007/07/31 17:03:36 msofer Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.265 2007/08/14 15:17:49 dgp Exp $ */ #include "tclInt.h" @@ -396,10 +396,10 @@ Tcl_CreateInterp(void) iPtr->returnOpts = NULL; iPtr->errorInfo = NULL; - TclNewLiteralStringObj(iPtr->eiVar, "errorInfo"); + TclNewLiteralStringObj(iPtr->eiVar, "::errorInfo"); Tcl_IncrRefCount(iPtr->eiVar); iPtr->errorCode = NULL; - TclNewLiteralStringObj(iPtr->ecVar, "errorCode"); + TclNewLiteralStringObj(iPtr->ecVar, "::errorCode"); Tcl_IncrRefCount(iPtr->ecVar); iPtr->returnLevel = 1; iPtr->returnCode = TCL_OK; |