summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-29 13:38:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-29 13:38:54 (GMT)
commit07bbb1b2709f46791d3a8b22f13d136784aef5a8 (patch)
treeb821850eced56cf36f18125ff1e12d0d2d17442f /generic
parentc3dccf719622f99411ccbccbc079379124879e8e (diff)
downloadtcl-07bbb1b2709f46791d3a8b22f13d136784aef5a8.zip
tcl-07bbb1b2709f46791d3a8b22f13d136784aef5a8.tar.gz
tcl-07bbb1b2709f46791d3a8b22f13d136784aef5a8.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 89d6b8f..44cf543 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -790,6 +790,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.
*/