]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Use sf-istream from Gnulib.
authorBruno Haible <bruno@clisp.org>
Tue, 24 Sep 2024 10:38:19 +0000 (12:38 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 26 Sep 2024 11:12:13 +0000 (13:12 +0200)
commitb16a7153042e52558df10ad5999761e646a5380f
tree1c4b9ef60eaf7b0c55ab759bfdf6c5e2a0ae2bc7
parent5aa77489634a4fc1e07b3d2301c22b0867cf3d69
xgettext: Use sf-istream from Gnulib.

* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add sf-istream.
* gettext-tools/src/x-perl.c: Include sf-istream.h.
(struct perl_extractor): Replace fp, input, input_end fields with a single
sf_istream_t.
(phase1_getc, get_here_document, skip_pod, interpolate_keywords, extract_perl):
Update.
* gettext-tools/src/x-php.c: Include sf-istream.h.
(struct php_extractor): Replace fp, input, input_end fields with a single
sf_istream_t.
(phase1_getc): Simplify.
(process_heredoc, phase4_get, extract_php): Update.
autogen.sh
gettext-tools/src/x-perl.c
gettext-tools/src/x-php.c