summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-10-26 13:13:27 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-10-26 13:13:27 (GMT)
commit4f20c3d555d869755b8fbe5cf295f4898929c8a3 (patch)
tree6c8fe78d397d6aa4bde624d40f39d906e66484e6 /generic/tclCompile.h
parentecb8fcec67eaa9ecc3902b669ad242dd76038562 (diff)
downloadtcl-4f20c3d555d869755b8fbe5cf295f4898929c8a3.zip
tcl-4f20c3d555d869755b8fbe5cf295f4898929c8a3.tar.gz
tcl-4f20c3d555d869755b8fbe5cf295f4898929c8a3.tar.bz2
Working towards a BCCed [yield]; this doesn't work right now.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index 86a0f77..fcff46c 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -681,16 +681,19 @@ typedef struct ByteCode {
#define INST_DICT_RECOMBINE_STK 139
#define INST_DICT_RECOMBINE_IMM 140
-/* For compilation of basic information operations */
-#define INST_NS_CURRENT 141
+/* For operations to do with coroutines */
+#define INST_YIELD 141
#define INST_COROUTINE_NAME 142
-#define INST_INFO_LEVEL_NUM 143
-#define INST_INFO_LEVEL_ARGS 144
-#define INST_RESOLVE_COMMAND 145
-#define INST_TCLOO_SELF 146
+
+/* 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
/* The last opcode */
-#define LAST_INST_OPCODE 146
+#define LAST_INST_OPCODE 147
/*
* Table describing the Tcl bytecode instructions: their name (for displaying