summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorwelch <welch>1998-06-29 17:32:08 (GMT)
committerwelch <welch>1998-06-29 17:32:08 (GMT)
commit6cc4239d1928d436d3c8c3eb449661508ec0a17f (patch)
tree9020e167a2bc306a9c861533ffdb4c7f2070939e /generic/tclBasic.c
parent834bf0c2d0c47f3e16535483f56abbec82c04512 (diff)
downloadtcl-6cc4239d1928d436d3c8c3eb449661508ec0a17f.zip
tcl-6cc4239d1928d436d3c8c3eb449661508ec0a17f.tar.gz
tcl-6cc4239d1928d436d3c8c3eb449661508ec0a17f.tar.bz2
Added Jans compatibility patch
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 4708212..40813ec 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.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.
*
- * SCCS: %Z% $Id: tclBasic.c,v 1.3 1998/06/10 12:06:58 escoffon Exp $
+ * SCCS: %Z% $Id: tclBasic.c,v 1.4 1998/06/29 17:32:09 welch Exp $
*/
#include "tclInt.h"
@@ -2434,13 +2434,16 @@ Tcl_Eval(interp, string)
*----------------------------------------------------------------------
*/
+#undef Tcl_EvalObj
+
int
-Tcl_EvalObj(interp, objPtr)
+Tcl_EvalObj(interp, objPtr, dummy)
Tcl_Interp *interp; /* Token for command interpreter
* (returned by a previous call to
* Tcl_CreateInterp). */
Tcl_Obj *objPtr; /* Pointer to object containing
* commands to execute. */
+ int dummy; /* not used */
{
register Interp *iPtr = (Interp *) interp;
int flags; /* Interp->evalFlags value when the
@@ -3923,7 +3926,7 @@ Tcl_GlobalEvalObj(interp, objPtr)
savedVarFramePtr = iPtr->varFramePtr;
iPtr->varFramePtr = NULL;
- result = Tcl_EvalObj(interp, objPtr);
+ result = Tcl_EvalObj(interp, objPtr, 0);
iPtr->varFramePtr = savedVarFramePtr;
return result;
}