gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-2461-g1a417d6
Date: Wed, 22 Mar 2017 08:04:58 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, feature/api-parser has been updated
       via  1a417d68f71b18525c572b903086f451ed75902b (commit)
      from  d1bebd3cbf60fa25883271512cf63e0c3275e3ef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=1a417d68f71b18525c572b903086f451ed75902b

commit 1a417d68f71b18525c572b903086f451ed75902b
Author: Andrew J. Schorr <address@hidden>
Date:   Wed Mar 22 08:04:39 2017 -0400

    Fix gawkapi.h comment describing the new get_record field_width argument.

diff --git a/ChangeLog b/ChangeLog
index feea67a..54b7663 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-22         Andrew J. Schorr     <address@hidden>
+
+       * gawkapi.h (awk_input_buf_t): Update get_record comment regarding the
+       new field_width argument.
+
 2017-03-21         Andrew J. Schorr     <address@hidden>
 
        * gawkapi.h (awk_fieldwidth_info_t): Define new structure to contain
diff --git a/gawkapi.h b/gawkapi.h
index 1ea067f..da53811 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -171,15 +171,12 @@ typedef struct awk_input {
         * on the value of *errcode (e.g., setting *errcode = errno should do
         * the right thing).
         *
-        * If field_width is non-NULL, then its value will be initialized
-        * to NULL, and the function may set it to point to an array of
-        * structures supplying field width information to override the default
-        * gawk field parsing mechanism.  The field_width array should have
-        * at least NF+1 elements, and the value of field_width[NF].skip
-        * must be negative. Note that these values are specified
-        * in bytes, not (potentially multi-byte) characters! And note that this
-        * array will not be copied by gawk; it must persist at least until the
-        * next call to get_record or close_func. Note that field_width will
+        * If field_width is non-NULL, then *field_width will be initialized
+        * to NULL, and the function may set it to point to a structure
+        * supplying field width information to override the default
+        * gawk field parsing mechanism. Note that this structure will not
+        * be copied by gawk; it must persist at least until the next call
+        * to get_record or close_func. Note also that field_width will
         * be NULL when getline is assigning the results to a variable, thus
         * field parsing is not needed.
         */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |  5 +++++
 gawkapi.h | 15 ++++++---------
 2 files changed, 11 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]