diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-01-05 09:48:11 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-01-05 09:48:11 (GMT) |
commit | 8e54cd31b1870397b3c62959293df9a98eeb252f (patch) | |
tree | 4ccd51bf9bf0d72d04181d60c437a978a1ec214b /generic/tclBasic.c | |
parent | 7d95a053aeb778f64cdd4fcb0cec11bd042119f8 (diff) | |
download | tcl-8e54cd31b1870397b3c62959293df9a98eeb252f.zip tcl-8e54cd31b1870397b3c62959293df9a98eeb252f.tar.gz tcl-8e54cd31b1870397b3c62959293df9a98eeb252f.tar.bz2 |
Make [source] NRE-aware to enable [yield]. [Bug 2412068]
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index d58368d..5f8d9dc 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.378 2008/12/17 22:07:42 nijtmans Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.379 2009/01/05 09:48:11 dkf Exp $ */ #include "tclInt.h" @@ -244,7 +244,7 @@ static const CmdInfo builtInCmds[] = { {"read", Tcl_ReadObjCmd, NULL, NULL, 1}, {"seek", Tcl_SeekObjCmd, NULL, NULL, 1}, {"socket", Tcl_SocketObjCmd, NULL, NULL, 0}, - {"source", Tcl_SourceObjCmd, NULL, NULL, 0}, + {"source", Tcl_SourceObjCmd, NULL, TclNRSourceObjCmd, 0}, {"tell", Tcl_TellObjCmd, NULL, NULL, 1}, {"time", Tcl_TimeObjCmd, NULL, NULL, 1}, {"unload", Tcl_UnloadObjCmd, NULL, NULL, 0}, |