summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-01-29 14:22:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-01-29 14:22:31 (GMT)
commitd8d1e6bbf527a1eb861879704f7779b5ac36781a (patch)
tree506264f185f1facf6e0737d9a1bb4a9a3716798c /generic/tclBasic.c
parenta1db6470b525c61a75fc26133b821ca98d6c66df (diff)
parent2f90de6166e0253955f4e7ce895ddb63c0d4f05d (diff)
downloadtcl-d8d1e6bbf527a1eb861879704f7779b5ac36781a.zip
tcl-d8d1e6bbf527a1eb861879704f7779b5ac36781a.tar.gz
tcl-d8d1e6bbf527a1eb861879704f7779b5ac36781a.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 5c5bc64..e5d7406 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -916,6 +916,13 @@ Tcl_CreateInterp(void)
TclInitEmbeddedConfigurationInformation(interp);
/*
+ * TIP #440: Declare the name of the script engine to be "Tcl".
+ */
+
+ Tcl_SetVar2(interp, "tcl_platform", "engine", "Tcl",
+ TCL_GLOBAL_ONLY);
+
+ /*
* Compute the byte order of this machine.
*/