diff options
author | Daiki Ueno <ueno@gnu.org> | 2016-03-02 19:18:40 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2016-03-02 19:18:40 +0900 |
commit | de4796a11dce1e99f4e0bb680a07ebdad8023954 (patch) | |
tree | 3bb3ee793f0c97150826d7342c682edaed83ee48 /gettext-tools/src/plural-eval.c | |
parent | b0af5330b31f467d24f009e989428a9cf8d6ffe2 (diff) | |
download | gettext-wip/ueno/xgettext-suboptions.tar.gz |
xgettext: Support per-file optionswip/ueno/xgettext-suboptions
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add getsubopt.
* gettext-tools/src/xgettext.c: Include <fnmatch.h>.
(long_options): Add --options.
(main): Handle --options. Factor out language guessing to...
(filename_to_language): ...here.
(usage): Mention --options.
(enum suboption_type): New enum.
(suboption_tokens): New variable.
(struct suboption_ty, struct suboption_list_ty,
struct suboption_list_list_ty): New struct.
(suboption_list_destroy, suboption_list_insert,
suboption_list_list_destroy, suboption_list_list_insert): New function.
(suboptions): New variable.
Diffstat (limited to 'gettext-tools/src/plural-eval.c')
0 files changed, 0 insertions, 0 deletions