gettext
388b4024 - libgettextpo: Remove static variable pass_obsolete_entries.

Commit
147 days ago
libgettextpo: Remove static variable pass_obsolete_entries. * gettext-tools/src/read-catalog-abstract.h (ABSTRACT_CATALOG_READER_TY): Add pass_obsolete_entries field. * gettext-tools/src/read-catalog-abstract.c (catalog_reader_alloc): Initialize the pass_obsolete_entries field. * gettext-tools/src/read-catalog.c (read_catalog_stream): Assign the pass_obsolete_entries field, instead of calling po_lex_pass_obsolete_entries. * gettext-tools/src/msgfmt.c (read_catalog_file_msgfmt): Likewise. * gettext-tools/src/po-lex.h (pass_obsolete_entries): Remove declaration. (po_lex_pass_obsolete_entries): Remove declaration. * gettext-tools/src/po-lex.c (pass_obsolete_entries): Remove variable. (po_lex_pass_obsolete_entries): Remove function. * gettext-tools/src/po-gram-gen.y: Update. * gettext-tools/woe32dll/gettextsrc-exports.c (pass_obsolete_entries): Remove export.
Author
Parents
Loading