summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-01-19 18:39:24 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-01-19 18:39:24 (GMT)
commitab8fd1e3f28322c8d57229cd2e171fea351097af (patch)
treeabee7f49bda59eace40abb8b402bd718359b2299 /generic/tclOO.c
parent8bb7405765b9aed27270dfd145037e3c5884a34a (diff)
downloadtcl-ab8fd1e3f28322c8d57229cd2e171fea351097af.zip
tcl-ab8fd1e3f28322c8d57229cd2e171fea351097af.tar.gz
tcl-ab8fd1e3f28322c8d57229cd2e171fea351097af.tar.bz2
added compilation for [nextto]
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;