summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
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;
}