diff --git a/src/err.h b/src/err.h index dc32001a..c84876f3 100644 --- a/src/err.h +++ b/src/err.h @@ -271,7 +271,7 @@ EXTERN char *ErrMsg[] /* E_NO_MB */ "C library does not support multibyte characters", /* E_BAD_MB_SEQ */ "Invalid multibyte sequence", /* E_EXPR_NODES_EXCEEDED */ "Maximum expression complexity exceeded", -/* E_EXPECTING_EOXPR */ "Expecting end-of-expression", +/* E_EXPECTING_EOXPR */ "Expecting operator or end-of-expression", } #endif /* MK_GLOBALS */ ; diff --git a/tests/test.cmp b/tests/test.cmp index dadc6e39..757216a7 100644 --- a/tests/test.cmp +++ b/tests/test.cmp @@ -5042,7 +5042,7 @@ set a 7 * "Cabbage! " set pqxya 1+2) 1+2) ^-- here -../tests/test.rem(1014): Expecting end-of-expression +../tests/test.rem(1014): Expecting operator or end-of-expression # Should result in an error REM Tue OMIT 2024-01-01 MSG Wookie @@ -23908,7 +23908,7 @@ Parsed expression: 2 Unparsed: , 3 2, 3 ^-- here -../tests/expr.rem(15): Expecting end-of-expression +../tests/expr.rem(15): Expecting operator or end-of-expression Parsed expression: iif(0, "foo", 0, "bar", 1, "blech", 0, "quux", 1, "borhy", "wacka") => (Iif 0 "foo" 0 "bar" 1 "blech" 0 "quux" 1 "borhy" "wacka") iif(0, ?, 0, ?, 1, "blech", ?, ?, ?, ?, ?) => "blech" @@ -25066,7 +25066,7 @@ TRANSLATE "TZ specified for non-timed reminder" "" TRANSLATE "C library does not support multibyte characters" "" TRANSLATE "Invalid multibyte sequence" "" TRANSLATE "Maximum expression complexity exceeded" "" -TRANSLATE "Expecting end-of-expression" "" +TRANSLATE "Expecting operator or end-of-expression" "" # Other Messages TRANSLATE "%s function `%s' defined at %s(%s) does not use its argument" ""