Adjust error messages
diff --git a/locales/en.msg b/locales/en.msg
index 0fa54df..13b9930 100644
--- a/locales/en.msg
+++ b/locales/en.msg
@@ -41,7 +41,7 @@
$set 4
1 "end of file"
-2 "invalid character (%c)"
+2 "invalid character '%c'"
3 "string end could not be found"
4 "comment end could not be found"
5 "invalid token"
@@ -73,9 +73,9 @@
$ Runtime errors.
$set 5
-1 "invalid ibase; must be [%lu, %lu]"
-2 "invalid obase; must be [%lu, %lu]"
-3 "invalid scale; must be [%lu, %lu]"
+1 "invalid ibase: must be [%lu, %lu]"
+2 "invalid obase: must be [%lu, %lu]"
+3 "invalid scale: must be [%lu, %lu]"
4 "invalid read() expression"
5 "recursive read() call"
6 "variable or array element is the wrong type"
diff --git a/src/data.c b/src/data.c
index 2f4e9f1..555d472 100644
--- a/src/data.c
+++ b/src/data.c
@@ -96,9 +96,9 @@
"path is a directory: %s",
"bad command-line option: '%c' (\"%s\")",
- "bad ibase; must be [%lu, %lu]",
- "bad obase; must be [%lu, %lu]",
- "bad scale; must be [%lu, %lu]",
+ "bad ibase: must be [%lu, %lu]",
+ "bad obase: must be [%lu, %lu]",
+ "bad scale: must be [%lu, %lu]",
"bad read() expression",
"read() call inside of a read() call",
"variable or array element is the wrong type",
@@ -116,7 +116,7 @@
#endif // BC_ENABLED
"end of file",
- "bad character (%c)",
+ "bad character '%c'",
"string end could not be found",
"comment end could not be found",
"bad token",