summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-29 13:35:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-29 13:35:00 (GMT)
commit2f90de6166e0253955f4e7ce895ddb63c0d4f05d (patch)
treeec4b6b7a6239e90990825b90c61cc811b29c0824 /generic
parent3fa3e3b2d59022f67a190c83e215f789ce836e2e (diff)
parent28d25fa6cf8d801e60d1d41099179e356ef8ecae (diff)
downloadtcl-2f90de6166e0253955f4e7ce895ddb63c0d4f05d.zip
tcl-2f90de6166e0253955f4e7ce895ddb63c0d4f05d.tar.gz
tcl-2f90de6166e0253955f4e7ce895ddb63c0d4f05d.tar.bz2
Implement TIP #440: Add engine to tcl_platform Array
Diffstat (limited to 'generic')
-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.
*/