gettext
e1381b84 - xgettext: Java: Flag strings on which the method 'formatted' is used as java-printf-format.

Commit
1 year ago
xgettext: Java: Flag strings on which the method 'formatted' is used as java-printf-format. * gettext-tools/src/x-java.c (token_type_semicolon): New enum item. (phase5_get): Recognize semicolon tokens. (extract_parenthesized): Handle method invocation .formatted. Return when a semicolon was seen. * gettext-tools/tests/xgettext-java-8: New file, based on gettext-tools/tests/xgettext-vala-6. * gettext-tools/tests/xgettext-java-9: New file, based on gettext-tools/tests/xgettext-vala-7. * gettext-tools/tests/Makefile.am (TESTS): Add them. * NEWS: Mention the change.
Author
Parents
Loading