diff options
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r-- | generic/tclCompile.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h index 8b1724b..f149cf6 100644 --- a/generic/tclCompile.h +++ b/generic/tclCompile.h @@ -512,7 +512,7 @@ typedef struct ByteCode { #define INST_PUSH4 2 #define INST_POP 3 #define INST_DUP 4 -#define INST_CONCAT1 5 +#define INST_STR_CONCAT1 5 #define INST_INVOKE_STK1 6 #define INST_INVOKE_STK4 7 #define INST_EVAL_STK 8 @@ -769,13 +769,23 @@ typedef struct ByteCode { #define INST_EXPAND_DROP 165 /* New foreach implementation */ - #define INST_FOREACH_START 166 #define INST_FOREACH_STEP 167 #define INST_FOREACH_END 168 +/* For compilation of [string trim] and related */ +#define INST_STR_TRIM 169 +#define INST_STR_TRIM_LEFT 170 +#define INST_STR_TRIM_RIGHT 171 + +#define INST_CONCAT_STK 172 + +#define INST_STR_UPPER 173 +#define INST_STR_LOWER 174 +#define INST_STR_TITLE 175 + /* The last opcode */ -#define LAST_INST_OPCODE 168 +#define LAST_INST_OPCODE 175 /* * Table describing the Tcl bytecode instructions: their name (for displaying |