Change #238043
Category | ggettext |
Changed by | Bruno Haible <bruno | @clisp.org>
Changed at | Mon 30 Jun 2025 13:49:13 |
Repository | git://git.savannah.gnu.org/gettext.git |
Project | ggettext |
Branch | master |
Revision | eff9937e4f50f45931a8d88f4210795c2cba3521 |
Comments
Simplify code: The syntax-check flags are only used inside xgettext. * gettext-tools/src/message.h: Improve comments regarding do_syntax_check. * gettext-tools/src/msgl-cat.c (catenate_msgdomain_list): Don't manipulate do_syntax_check field. * gettext-tools/src/msgmerge.c (message_merge): Likewise. * gettext-tools/src/read-catalog-special.h (parse_comment_special): Change 'scp' parameter to a pointer. * gettext-tools/src/read-catalog-special.c (parse_comment_special): Support a null 'scp' argument. * gettext-tools/src/read-catalog.h (DEFAULT_CATALOG_READER_TY): Remove do_syntax_check field. * gettext-tools/src/read-catalog.c (default_constructor, default_copy_comment_state, default_reset_comment_state, default_comment_special): Don't reference do_syntax_check field.
Changed files
- gettext-tools/src/message.h
- gettext-tools/src/msgl-cat.c
- gettext-tools/src/msgmerge.c
- gettext-tools/src/read-catalog-special.c
- gettext-tools/src/read-catalog-special.h
- gettext-tools/src/read-catalog.c
- gettext-tools/src/read-catalog.h