[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#227339: xgettext does sometimes not print comments found into so
From: |
Bruno Haible |
Subject: |
Re: Bug#227339: xgettext does sometimes not print comments found into source files (fwd) |
Date: |
Wed, 14 Jan 2004 13:21:00 +0100 |
User-agent: |
KMail/1.5 |
Denis Barbier wrote:
> Hi, here is a test case:
> ################### test.c #########################
> /* Test 1 */
> char *s1 = gettext("foo"
> "bar");
> /* Test 2 */
> char *s2 = gettext("baz" "quux");
> char *s1 = gettext("blah"
> /* Test 3 */
> "blah");
> ############### End of test.c ######################
>
> $ xgettext -c --omit-header -o - test.c
> #: test.c:2
> msgid "foobar"
> msgstr ""
>
> #. Test 2
> #: test.c:5
> msgid "bazquux"
> msgstr ""
>
> #. Test 3
> #: test.c:6
> msgid "blahblah"
> msgstr ""
> $
> IMO documentation makes sense, comment 1 should be displayed, but not 3.
Thanks for the report. It will be fixed in gettext 0.14. Hope you can
wait so long.
Bruno