summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-07-12 16:13:27 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-07-12 16:13:27 (GMT)
commit7bea42569d8c2ccb8584155f706392d5812ec428 (patch)
tree4f61b95593d24393fff08344b408215836a58a05 /generic/tclAssembly.c
parentf0bba60202785e634e8e1712db5cc37246d36e32 (diff)
downloadtcl-7bea42569d8c2ccb8584155f706392d5812ec428.zip
tcl-7bea42569d8c2ccb8584155f706392d5812ec428.tar.gz
tcl-7bea42569d8c2ccb8584155f706392d5812ec428.tar.bz2
whopper change; now passes test suite on OSX
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r--generic/tclAssembly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index d1866c8..f09a70e 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -1592,7 +1592,7 @@ AssembleOneLine(
if (opnd < 2) {
if (assemEnvPtr->flags & TCL_EVAL_DIRECT) {
Tcl_SetObjResult(interp,
- Tcl_NewStringObj("operand must be >=2", -1));
+ Tcl_NewStringObj("operand should be >=2", -1));
Tcl_SetErrorCode(interp, "TCL", "ASSEM", "OPERAND>=2", NULL);
}
goto cleanup;
@@ -2435,7 +2435,7 @@ CheckNonNegative(
Tcl_Obj* result; /* Error message */
if (value < 0) {
- result = Tcl_NewStringObj("operand must be nonnegative", -1);
+ result = Tcl_NewStringObj("operand should be nonnegative", -1);
Tcl_SetObjResult(interp, result);
Tcl_SetErrorCode(interp, "TCL", "ASSEM", "NONNEGATIVE", NULL);
return TCL_ERROR;
@@ -2468,7 +2468,7 @@ CheckStrictlyPositive(
Tcl_Obj* result; /* Error message */
if (value <= 0) {
- result = Tcl_NewStringObj("operand must be positive", -1);
+ result = Tcl_NewStringObj("operand should be positive", -1);
Tcl_SetObjResult(interp, result);
Tcl_SetErrorCode(interp, "TCL", "ASSEM", "POSITIVE", NULL);
return TCL_ERROR;