summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-10-29 21:35:49 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-10-29 21:35:49 (GMT)
commit2b2fbb042125fc15bc6a507585c6d971887ebdbe (patch)
tree2f37ec079458d2dd670f4ac91e414deec83d160b /generic/tclCompile.h
parent598ca907fafae5ae4feb34eb2aa90a7388c73a78 (diff)
downloadtcl-2b2fbb042125fc15bc6a507585c6d971887ebdbe.zip
tcl-2b2fbb042125fc15bc6a507585c6d971887ebdbe.tar.gz
tcl-2b2fbb042125fc15bc6a507585c6d971887ebdbe.tar.bz2
Added compilation of simplest practical case of [string map].
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index fcff46c..ff2f0e3 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -681,19 +681,22 @@ typedef struct ByteCode {
#define INST_DICT_RECOMBINE_STK 139
#define INST_DICT_RECOMBINE_IMM 140
+/* For [string map] and [regsub] compilation */
+#define INST_STR_MAP 141
+
/* For operations to do with coroutines */
-#define INST_YIELD 141
-#define INST_COROUTINE_NAME 142
+#define INST_YIELD 142
+#define INST_COROUTINE_NAME 143
/* For compilation of basic information operations */
-#define INST_NS_CURRENT 143
-#define INST_INFO_LEVEL_NUM 144
-#define INST_INFO_LEVEL_ARGS 145
-#define INST_RESOLVE_COMMAND 146
-#define INST_TCLOO_SELF 147
+#define INST_NS_CURRENT 144
+#define INST_INFO_LEVEL_NUM 145
+#define INST_INFO_LEVEL_ARGS 146
+#define INST_RESOLVE_COMMAND 147
+#define INST_TCLOO_SELF 148
/* The last opcode */
-#define LAST_INST_OPCODE 147
+#define LAST_INST_OPCODE 148
/*
* Table describing the Tcl bytecode instructions: their name (for displaying