summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.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/tclBasic.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/tclBasic.c')
-rw-r--r--generic/tclBasic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index f0f0c0f..9758449 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -215,7 +215,7 @@ static const CmdInfo builtInCmds[] = {
{"continue", Tcl_ContinueObjCmd, TclCompileContinueCmd, NULL, 1},
{"coroutine", NULL, NULL, TclNRCoroutineObjCmd, 1},
{"error", Tcl_ErrorObjCmd, TclCompileErrorCmd, NULL, 1},
- {"eval", Tcl_EvalObjCmd, NULL, NULL, 1},
+ {"eval", Tcl_EvalObjCmd, NULL, TclNREvalObjCmd, 1},
{"expr", Tcl_ExprObjCmd, TclCompileExprCmd, TclNRExprObjCmd, 1},
{"for", Tcl_ForObjCmd, TclCompileForCmd, TclNRForObjCmd, 1},
{"foreach", Tcl_ForeachObjCmd, TclCompileForeachCmd, TclNRForeachCmd, 1},