diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-03-10 09:42:23 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-03-10 09:42:23 +0200 |
commit | 0add33f3c3e8e8a5a735b6a1b779d91ee3884246 (patch) | |
tree | dbe90aa5ab46d5065b21754ea2ec042d62f68951 /extension/ordchr.c | |
parent | 2f0eddafa9a66aebf2e2ed1c49a9e8ce9e892a8c (diff) | |
download | egawk-0add33f3c3e8e8a5a735b6a1b779d91ee3884246.tar.gz egawk-0add33f3c3e8e8a5a735b6a1b779d91ee3884246.tar.bz2 egawk-0add33f3c3e8e8a5a735b6a1b779d91ee3884246.zip |
Second round of message fixes.
Diffstat (limited to 'extension/ordchr.c')
-rw-r--r-- | extension/ordchr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/ordchr.c b/extension/ordchr.c index d9543126..28d3e036 100644 --- a/extension/ordchr.c +++ b/extension/ordchr.c @@ -69,7 +69,7 @@ do_ord(int nargs, awk_value_t *result, struct awk_ext_func *unused) if (get_argument(0, AWK_STRING, & str)) { ret = str.str_value.str[0]; } else if (do_lint) - lintwarn(ext_id, _("ord: called with inappropriate argument(s)")); + lintwarn(ext_id, _("ord: first argument is not a string")); /* Set the return value */ return make_number(ret, result); @@ -96,7 +96,7 @@ do_chr(int nargs, awk_value_t *result, struct awk_ext_func *unused) str[0] = ret; str[1] = '\0'; } else if (do_lint) - lintwarn(ext_id, _("chr: called with inappropriate argument(s)")); + lintwarn(ext_id, _("chr: first argument is not a number")); /* Set the return value */ return make_const_string(str, 1, result); |