[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: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-2467-gde35ebb |
Date: |
Thu, 23 Mar 2017 15:30:44 -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 de35ebb8a343a6756ee5b45a6f0958626c17982c (commit)
via 10c17fe33a10746bd44fc4b62f764ca4c3f3c5a6 (commit)
via 41915dfdb8cd59fcdf56c8f74b7d6e62448eadfa (commit)
from eab8c54a43c4f1e7827b28f0e4e0e3b2d6643b97 (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=de35ebb8a343a6756ee5b45a6f0958626c17982c
commit de35ebb8a343a6756ee5b45a6f0958626c17982c
Merge: eab8c54 10c17fe
Author: Arnold D. Robbins <address@hidden>
Date: Thu Mar 23 21:30:37 2017 +0200
Merge branch 'master' into feature/api-parser
diff --cc ChangeLog
index 6c587f0,3cf9dda..80a0a7c
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,57 -1,7 +1,61 @@@
+ 2017-03-23 Arnold D. Robbins <address@hidden>
+
+ * config.sub: Updated again.
+
+2017-03-22 Andrew J. Schorr <address@hidden>
+
+ * NEWS: Document new PROCINFO["FS"] value of "API".
+
+2017-03-22 Andrew J. Schorr <address@hidden>
+
+ * NEWS: Document new FIELDWIDTHS skip capability and API input parser
+ field parsing enhancement.
+
+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
+ API field parsing info, replacing the previous awk_input_field_info_t
+ array.
+ (awk_fieldwidth_info_size): Define macro to calculate size of the
+ variable-length awk_fieldwidth_info_t structure.
+ (awk_input_buf_t): Update get_record prototype to update the type
+ of the final field_width argument from 'const awk_input_field_info_t **'
+ to 'const awk_fieldwidth_info_t **'.
+ * awk.h (set_record): Change 3rd argument from
+ 'const awk_input_field_info_t *' to 'const awk_fieldwidth_info_t *'.
+ * io.c (inrec, do_getline_redir, do_getline): Change field_width type
+ from 'const awk_input_field_info_t *' to
+ 'const awk_fieldwidth_info_t *'.
+ (get_a_record): Change field_width argument type from
+ 'const awk_input_field_info_t **' to 'const awk_fieldwidth_info_t **'.
+ * field.c (api_parser_override): Define new boolean to track whether
+ API parsing is currently overriding default parsing behavior.
+ (api_fw): Change type from 'const awk_input_field_info_t *'
+ to 'const awk_fieldwidth_info_t *'.
+ (FIELDWIDTHS): Change type from 'int *' to 'awk_fieldwidth_info_t *'.
+ (set_record): Use new boolean api_parser_override to track whether
+ API parsing override is in effect, since we can no longer discern
+ this from the value of parse_field -- FIELDWIDTHS parsing uses the
+ same function.
+ (calc_mbslen): New function to calculate the length of a multi-byte
+ string.
+ (fw_parse_field): Enhance to support the awk_fieldwidth_info_t
+ structure instead of simply using an array of integer field widths.
+ (api_parse_field): Remove function no longer needed since fw_parse_field
+ now supports both FIELDWIDTHS and API parsing.
+ (set_parser): Use api_parser_override instead of comparing parse_field
+ to api_parse_field.
+ (set_FIELDWIDTHS): Enhance to use new awk_fieldwidth_info_t structure
+ and parse new skip prefix for each field.
+ (current_field_sep): Use api_parser_override flag instead of comparing
+ to api_parse_field.
+ (current_field_sep_str): Ditto.
+
2017-03-20 Arnold D. Robbins <address@hidden>
Improve handling of EPIPE. Problems reported by
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
config.sub | 7 ++++++-
extension/build-aux/ChangeLog | 4 ++++
extension/build-aux/config.sub | 7 ++++++-
support/ChangeLog | 4 ++++
support/dfa.c | 35 ++++++++++++-----------------------
6 files changed, 36 insertions(+), 25 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-2467-gde35ebb,
Arnold Robbins <=