summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-08-02 13:03:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-08-02 13:03:46 (GMT)
commit9b243d8861a7ba96ab64928edc9795beb02a4997 (patch)
tree9ef3ff93e52517d40aa719be4a9fcb282bf74aa5 /generic/tclBasic.c
parentcaf9f82c8c57615ac532064b2eb0c7649ea7eb40 (diff)
downloadtcl-9b243d8861a7ba96ab64928edc9795beb02a4997.zip
tcl-9b243d8861a7ba96ab64928edc9795beb02a4997.tar.gz
tcl-9b243d8861a7ba96ab64928edc9795beb02a4997.tar.bz2
Added *unsupported* command to report an object's representation.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 54d3b47..7941c7d 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.399 2009/07/23 15:23:43 das Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.400 2009/08/02 13:03:47 dkf Exp $
*/
#include "tclInt.h"
@@ -782,11 +782,13 @@ Tcl_CreateInterp(void)
TclDefaultBgErrorHandlerObjCmd, NULL, NULL);
/*
- * Create an unsupported command for debugging bytecode.
+ * Create unsupported commands for debugging bytecode and objects.
*/
Tcl_CreateObjCommand(interp, "::tcl::unsupported::disassemble",
Tcl_DisassembleObjCmd, NULL, NULL);
+ Tcl_CreateObjCommand(interp, "::tcl::unsupported::representation",
+ Tcl_RepresentationCmd, NULL, NULL);
/*
* Create the 'tailcall' command