gettext
ef9a0aa3 - xgettext: Vala: Don't flag printf arguments as c-format.

Commit
1 year ago
xgettext: Vala: Don't flag printf arguments as c-format. Reported by Anders Jonsson <anders.jonsson@norsjovallen.se> at <https://savannah.gnu.org/bugs/?64921>. * gettext-tools/src/xgettext.c (xgettext_record_flag: Recognize also "undecided-...-format". * gettext-tools/src/x-vala.c (init_flag_table_vala): Flag the printf function as 'undecided-c-format', not 'c-format'. * gettext-tools/tests/xgettext-vala-5: Use vprintf instead of printf. * gettext-tools/tests/xgettext-vala-6: New file. * gettext-tools/tests/Makefile.am (TESTS): Add it.
Author
Committer
Parents
Loading