diff options
author | mig <mig> | 2011-08-29 10:43:14 (GMT) |
---|---|---|
committer | mig <mig> | 2011-08-29 10:43:14 (GMT) |
commit | c251023188932dce6c85acbfa54f381fef459e63 (patch) | |
tree | 9d56f6a13738ae008db0c041d317b7bccbafab00 /generic/tclCmdAH.c | |
parent | 4bf140f4c07b28a2391994ffe9de23029fba40cf (diff) | |
download | tcl-c251023188932dce6c85acbfa54f381fef459e63.zip tcl-c251023188932dce6c85acbfa54f381fef459e63.tar.gz tcl-c251023188932dce6c85acbfa54f381fef459e63.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.c | 10 |
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; |