summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-01-25 09:02:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-01-25 09:02:30 (GMT)
commit18cc046d76f822340ac711ab379965ea61cae9b3 (patch)
tree6850ff329261da488e14891e203120b8b8bc9a15 /generic/tclOO.c
parentaa2c40934df3fdefbb39338f7eef44e79c3c551e (diff)
parent6e072443704a589149fea001df51f9870b78c323 (diff)
downloadtcl-18cc046d76f822340ac711ab379965ea61cae9b3.zip
tcl-18cc046d76f822340ac711ab379965ea61cae9b3.tar.gz
tcl-18cc046d76f822340ac711ab379965ea61cae9b3.tar.bz2
merge principal development branch
Diffstat (limited to 'generic/tclOO.c')
-rw-r--r--generic/tclOO.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c
index 9a0682d..de00733 100644
--- a/generic/tclOO.c
+++ b/generic/tclOO.c
@@ -440,8 +440,9 @@ InitFoundation(
cmdPtr = (Command *) Tcl_NRCreateCommand(interp, "::oo::Helpers::next",
NULL, TclOONextObjCmd, NULL, NULL);
cmdPtr->compileProc = TclCompileObjectNextCmd;
- Tcl_NRCreateCommand(interp, "::oo::Helpers::nextto",
+ cmdPtr = (Command *) Tcl_NRCreateCommand(interp, "::oo::Helpers::nextto",
NULL, TclOONextToObjCmd, NULL, NULL);
+ cmdPtr->compileProc = TclCompileObjectNextToCmd;
cmdPtr = (Command *) Tcl_CreateObjCommand(interp, "::oo::Helpers::self",
TclOOSelfObjCmd, NULL, NULL);
cmdPtr->compileProc = TclCompileObjectSelfCmd;