summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-08-07 12:44:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-08-07 12:44:42 (GMT)
commit47750cf97411377b0562db3816394c12707d8590 (patch)
tree975b6069c295e6da5f8e1a54a87f9278081dbbc9 /generic
parent854ba0e8ca16a91d958a52579e03b86d868fc8ca (diff)
downloadtcl-47750cf97411377b0562db3816394c12707d8590.zip
tcl-47750cf97411377b0562db3816394c12707d8590.tar.gz
tcl-47750cf97411377b0562db3816394c12707d8590.tar.bz2
Add comment stating new limitation on Tcl(NR)EvalObjEx() interface.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclBasic.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 00ae24e..8ba3825 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -5893,6 +5893,11 @@ Tcl_GlobalEvalObj(
* compiled into bytecodes if necessary, unless TCL_EVAL_DIRECT is
* specified.
*
+ * If the flag TCL_EVAL_DIRECT is passed in, the value of invoker
+ * must be NULL. Support for non-NULL invokers in that mode has
+ * been removed since it was unused and untested. Failure to
+ * follow this limitation will lead to an assertion panic.
+ *
* Results:
* The return value is one of the return codes defined in tcl.h (such as
* TCL_OK), and the interpreter's result contains a value to supplement