summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-01-21 15:07:59 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-01-21 15:07:59 (GMT)
commit61bfac2613d3cc063099ad9e6de3110491b6f5df (patch)
treeedde2684acb69fbdefc4ae76635e5cb9ab149de5 /generic/tclBasic.c
parentab8fd1e3f28322c8d57229cd2e171fea351097af (diff)
downloadtcl-61bfac2613d3cc063099ad9e6de3110491b6f5df.zip
tcl-61bfac2613d3cc063099ad9e6de3110491b6f5df.tar.gz
tcl-61bfac2613d3cc063099ad9e6de3110491b6f5df.tar.bz2
implementation of [yieldto] in bytecode
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 7c02706..e355229 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -259,7 +259,7 @@ static const CmdInfo builtInCmds[] = {
{"variable", Tcl_VariableObjCmd, TclCompileVariableCmd, NULL, CMD_IS_SAFE},
{"while", Tcl_WhileObjCmd, TclCompileWhileCmd, TclNRWhileObjCmd, CMD_IS_SAFE},
{"yield", NULL, TclCompileYieldCmd, TclNRYieldObjCmd, CMD_IS_SAFE},
- {"yieldto", NULL, NULL, TclNRYieldToObjCmd, CMD_IS_SAFE},
+ {"yieldto", NULL, TclCompileYieldToCmd, TclNRYieldToObjCmd, CMD_IS_SAFE},
/*
* Commands in the OS-interface. Note that many of these are unsafe.