bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64921] xgettext marks more strings as c-format in 0.22 than in 0.2


From: Bruno Haible
Subject: [bug #64921] xgettext marks more strings as c-format in 0.22 than in 0.21
Date: Sat, 25 Nov 2023 19:48:38 -0500 (EST)

Follow-up Comment #2, bug #64921 (project gettext):

The relevant difference between 0.21 and 0.22 is this commit:

https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=c1f24ed01d9f39b812c898603c7ab84b39a434fc

In 0.21, the flag_table_vala remained empty, because
xgettext.c:xgettext_record_flag never adds anything to it. The flags requested
by init_flag_table_vala() ended up in the flag_table_c, not in
flag_table_vala.
0.22 fixes this. Thus in 0.21 the statements

  xgettext_record_flag ("printf:1:c-format");
  xgettext_record_flag ("vprintf:1:c-format");

had no effect on the Vala parser, only on the C parser. This is fixed in 0.22.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64921>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]