bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: xgettext missed strings with perl ?:


From: Bruno Haible
Subject: Re: xgettext missed strings with perl ?:
Date: Mon, 14 Jun 2010 02:17:11 +0200
User-agent: KMail/1.9.9

Hi Karl,

> With gettext 0.18.1.1, running
> xgettext -L Perl -o - foo.pl
> 
> on the one-line Perl source foo.pl:
> my $inf = foo() ? gettext("aaa") : 0;
> 
> yields no output.  With older versions (the one I had at hand is 0.14.6,
> but I believe it was true with 0.16, not sure about 0.17), I get the
> expected output

The parsing of conditional expressions and, more generally, the disambiguation
between conditional expression, division operator, and regular expression has
been overhauled in gettext 0.18.

Before gettext 0.18, this area was undocumented and buggy.

Since gettext 0.18, it behaves differently, but is documented: See the page
  <http://www.gnu.org/software/gettext/manual/html_node/General-Problems.html>
in particular the section that starts with
  "Another problem is the ambiguity of the slash and the question mark. ..."

Bruno



reply via email to

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