summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.c
diff options
context:
space:
mode:
authormig <mig>2011-08-29 10:43:14 (GMT)
committermig <mig>2011-08-29 10:43:14 (GMT)
commitcb7ed495368dc8bb18338cc748f6e408abf13b1e (patch)
tree9d56f6a13738ae008db0c041d317b7bccbafab00 /generic/tclCmdAH.c
parent7fa60e4fb188f417e4b968ef37085cc9c1c171e2 (diff)
downloadtcl-cb7ed495368dc8bb18338cc748f6e408abf13b1e.zip
tcl-cb7ed495368dc8bb18338cc748f6e408abf13b1e.tar.gz
tcl-cb7ed495368dc8bb18338cc748f6e408abf13b1e.tar.bz2
Fix eval's faulty objProc, it was actually an nreProc [3399564|Bug 3399564]. Thanks to Joe Mistachkin for detection and analysis.
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r--generic/tclCmdAH.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c
index 765c9dc..fc9d39d 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -737,6 +737,16 @@ Tcl_EvalObjCmd(
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
{
+ return Tcl_NRCallObjProc(interp, TclNREvalObjCmd, dummy, objc, objv);
+}
+
+int
+TclNREvalObjCmd(
+ ClientData dummy, /* Not used. */
+ Tcl_Interp *interp, /* Current interpreter. */
+ int objc, /* Number of arguments. */
+ Tcl_Obj *const objv[]) /* Argument objects. */
+{
register Tcl_Obj *objPtr;
Interp *iPtr = (Interp *) interp;
CmdFrame *invoker = NULL;