preprocessor: Extract messages from cpp_*_at calls for translation
authorJoseph Myers <joseph@codesourcery.com>
Fri, 11 Feb 2022 23:22:07 +0000 (23:22 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 11 Feb 2022 23:22:07 +0000 (23:22 +0000)
commitbecc9a12a515a2d0bbe56555185102dd42ec4ef3
treed15a9ee47c96389d2ca47f998f6859d79bb50b68
parent434b2caf5d44d58cb48c9588d4b70588f6d5965b
preprocessor: Extract messages from cpp_*_at calls for translation

The logic in libcpp/Makefile.in listing diagnostic functions in a call
to xgettext was missing cpp_warning_at, cpp_pedwarning_at and
cpp_error_at, so resulting in some messages not being extracted for
translation; add those functions to those for which messages are
extracted.

Tested with "make cpplib.pot".

* Makefile.in (po/$(PACKAGE).pot): Also handle cpp_warning_at,
cpp_pedwarning_at and cpp_error_at.
libcpp/Makefile.in