diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-05-08 08:48:19 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-05-08 08:48:19 (GMT) |
commit | 8e841a82ee24a19f46b5242cc2a989361da94dd9 (patch) | |
tree | 02c103233e67d5211073223af43b8ae52e97efdc /generic/tclBasic.c | |
parent | 0aacbdde5731d13b37f89453b2c72c1ff5250a51 (diff) | |
download | tcl-8e841a82ee24a19f46b5242cc2a989361da94dd9.zip tcl-8e841a82ee24a19f46b5242cc2a989361da94dd9.tar.gz tcl-8e841a82ee24a19f46b5242cc2a989361da94dd9.tar.bz2 |
Fix [Bug 2414858].
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 41e3824..264fdc8 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.393 2009/05/08 01:02:26 msofer Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.394 2009/05/08 08:48:19 dkf Exp $ */ #include "tclInt.h" @@ -4200,6 +4200,14 @@ TclNREvalObjv( return TCL_OK; } +void +TclPushTailcallPoint( + Tcl_Interp *interp) +{ + TclNRAddCallback(interp, NRCommand, NULL, NULL, NULL, NULL); + ((Interp *) interp)->numLevels++; +} + int TclNRRunCallbacks( Tcl_Interp *interp, |