diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-03-22 21:07:52 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-03-22 21:07:52 +0200 |
commit | c07a390e647b74a40f1726e6fe3580bc370f178b (patch) | |
tree | 21ba212643527ab91ba971c77dc5bb789701e517 /ChangeLog | |
parent | 319e10d7a56b9a99788a869a5ae3890ae6205cbc (diff) | |
download | egawk-c07a390e647b74a40f1726e6fe3580bc370f178b.tar.gz egawk-c07a390e647b74a40f1726e6fe3580bc370f178b.tar.bz2 egawk-c07a390e647b74a40f1726e6fe3580bc370f178b.zip |
Impove lint checks in builtin functions.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +2022-03-22 Arnold D. Robbins <arnold@skeeve.com> + + Make lint checks for builtin functions smarter. Initial + report from Timothy Sample <samplet@ngyro.com>. + + * builtin.c (do_fflush): Require string type. + (printf_common): Ditto. + (do_index): Allow strnum for both arguments. + (do_length): Ditto. + (do_strftime): Ditto. + (do_substr): Require numbers for arguments 2 and 3, string or + strnum for argument 1. + (do_match): Require string or strnum for argument 1. + (do_dcgettext): Require strings for all arguments. + (do_bindtextdomain): Ditto. + (do_dcngettext): Require strings for arguments 5, 4, 2, and 1, and + number for argument 3. + 2022-02-27 Arnold D. Robbins <arnold@skeeve.com> * awk.h (cant_happen): Change to allow a format string and arguments, |