]> git.ipfire.org Git - thirdparty/gettext.git/commit
Strengthen gcc-internal-format: Check that %< %>, %r %R, %{ %} come in pairs.
authorBruno Haible <bruno@clisp.org>
Thu, 19 Jun 2025 11:35:55 +0000 (13:35 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 19 Jun 2025 11:35:55 +0000 (13:35 +0200)
commit790fc440dfaf588b7c7076f6caf2bd86d670ad80
tree57b6121f0772e95641ddc9709039a5812fa1d384
parent82ddb5145579b9b4e834887139f439afadf7e47d
Strengthen gcc-internal-format: Check that %< %>, %r %R, %{ %} come in pairs.

* gettext-tools/src/format-gcc-internal.c (format_parse): New local variables
in_quote_group, in_color_group, in_url_group. Add pairing checks for %< %>,
%r %R, %{ %}.
* gettext-tools/tests/format-gcc-internal-1: Update.
* gettext-tools/tests/format-gcc-internal-2: Update.
gettext-tools/src/format-gcc-internal.c
gettext-tools/tests/format-gcc-internal-1
gettext-tools/tests/format-gcc-internal-2