]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Reduce code duplication.
authorBruno Haible <bruno@clisp.org>
Wed, 7 Jun 2023 13:50:03 +0000 (15:50 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 7 Jun 2023 16:58:21 +0000 (18:58 +0200)
commit294672eeff533bd23356004694fc127685f877e3
tree56fe1aa2fd8b16221ddb123961c0636f80f196e7
parente350fec2cff20b7e81b3efb453f25c549a82b97c
xgettext: Reduce code duplication.

* gettext-tools/src/xg-arglist-context.h (flag_context_list_table_add): Add
comment.
* gettext-tools/src/xg-arglist-context.c (set_flags_for_formatstring_type): New
function, extracted from flag_context_list_table_add.
(flag_context_list_table_add): Use it.
gettext-tools/src/xg-arglist-context.c
gettext-tools/src/xg-arglist-context.h