diff options
author | mig <mig> | 2014-01-05 15:01:52 (GMT) |
---|---|---|
committer | mig <mig> | 2014-01-05 15:01:52 (GMT) |
commit | 92f27b7095220ef6e508c9a0216e0fce97b3d2ae (patch) | |
tree | f44768716cf0951e67d527e96187b338f41686bc | |
parent | f63ef2c79888c0b68ff4e0ae7815e11e2075de65 (diff) | |
download | tcl-92f27b7095220ef6e508c9a0216e0fce97b3d2ae.zip tcl-92f27b7095220ef6e508c9a0216e0fce97b3d2ae.tar.gz tcl-92f27b7095220ef6e508c9a0216e0fce97b3d2ae.tar.bz2 |
fix arraySet compiler to set -errorcode instead of -errorCode in return options
-rw-r--r-- | generic/tclCompCmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c index 323aa87..3d5bfe0 100644 --- a/generic/tclCompCmds.c +++ b/generic/tclCompCmds.c @@ -278,7 +278,7 @@ TclCompileArraySetCmd( if (isDataValid && !isDataEven) { PushStringLiteral(envPtr, "list must have an even number of elements"); - PushStringLiteral(envPtr, "-errorCode {TCL ARGUMENT FORMAT}"); + PushStringLiteral(envPtr, "-errorcode {TCL ARGUMENT FORMAT}"); TclEmitInstInt4(INST_RETURN_IMM, TCL_ERROR, envPtr); TclEmitInt4( 0, envPtr); goto done; @@ -373,7 +373,7 @@ TclCompileArraySetCmd( offsetFwd = CurrentOffset(envPtr); TclEmitInstInt1(INST_JUMP_FALSE1, 0, envPtr); PushStringLiteral(envPtr, "list must have an even number of elements"); - PushStringLiteral(envPtr, "-errorCode {TCL ARGUMENT FORMAT}"); + PushStringLiteral(envPtr, "-errorcode {TCL ARGUMENT FORMAT}"); TclEmitInstInt4(INST_RETURN_IMM, TCL_ERROR, envPtr); TclEmitInt4( 0, envPtr); TclAdjustStackDepth(-1, envPtr); |