summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-12-28 17:21:39 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-12-28 17:21:39 (GMT)
commit7ccc50d8b67a7e642928d04bfb66ec3ee4052fbb (patch)
tree660424262f795a1470aa234a0fa49a56fc7a804d /generic/tclCompile.c
parent0dc5e35d3b0f0bda4129dd72223c109c778a4331 (diff)
downloadtcl-7ccc50d8b67a7e642928d04bfb66ec3ee4052fbb.zip
tcl-7ccc50d8b67a7e642928d04bfb66ec3ee4052fbb.tar.gz
tcl-7ccc50d8b67a7e642928d04bfb66ec3ee4052fbb.tar.bz2
completed instruction implementation
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index db97c45..5474535 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -606,6 +606,10 @@ InstructionDesc const tclInstructionTable[] = {
/* [string totitle] core: converts whole string to upper case using
* the default (extended "C" locale) rules.
* Stack: ... string => ... newString */
+ {"strReplace", 1, -3, 0, {OPERAND_NONE}},
+ /* [string replace] core: replaces a non-empty range of one string
+ * with the contents of another.
+ * Stack: ... string fromIdx toIdx replacement => ... newString */
{NULL, 0, 0, 0, {OPERAND_NONE}}
};