summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsGR.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-10-13 13:34:01 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-10-13 13:34:01 (GMT)
commit62cb43456456d34b7a1b738feb2d2114915aff3c (patch)
tree6dda2c6d242d57572eeccdd5fc5eb1cbc9bd9256 /generic/tclCompCmdsGR.c
parent18620aebd7623aaa3031162500c392cf2fa6ade7 (diff)
downloadtcl-62cb43456456d34b7a1b738feb2d2114915aff3c.zip
tcl-62cb43456456d34b7a1b738feb2d2114915aff3c.tar.gz
tcl-62cb43456456d34b7a1b738feb2d2114915aff3c.tar.bz2
update comments
Diffstat (limited to 'generic/tclCompCmdsGR.c')
-rw-r--r--generic/tclCompCmdsGR.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c
index 43ea3d3..3efcba7 100644
--- a/generic/tclCompCmdsGR.c
+++ b/generic/tclCompCmdsGR.c
@@ -2480,6 +2480,7 @@ TclCompileReturnCmd(
* emit the INST_RETURN_IMM instruction with code and level as operands.
*/
+ // TODO: when (code==TCL_BREAK || code==TCL_CONTINUE)&&(level==0&&size==0), check for stack balance and jump opportunities
CompileReturnInternal(envPtr, INST_RETURN_IMM, code, level, returnOpts);
return TCL_OK;