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

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

Re: Bug#386912: errors in the Perl parser of xgettext: invalid variable


From: John Cowan
Subject: Re: Bug#386912: errors in the Perl parser of xgettext: invalid variable interpolation at "$"
Date: Tue, 12 Sep 2006 22:53:41 -0400
User-agent: Mutt/1.3.28i

Bruno Haible scripsit:

>      - Other identifiers, if immediately followed by an opening
>      parenthesis,

Any identifier immediately followed by an open paren takes the arguments
within the parens.  In Perl-speak, "if it looks like a function call,
it is a function call."  So if you don't want to worry about which
built-ins take one argument and which take as many as possible, always
parenthesize.

>          foo bar (x), y  ==>  foo (bar (x), y)
>          foo bar (x, y), z  ==>  foo (bar (x, y), z)
>      - Other identifiers, if not immediately followed by an opening

-- 
Newbies always ask:                             John Cowan
  "Elements or attributes?                      http://www.ccil.org/~cowan
Which will serve me best?"                      address@hidden
  Those who know roar like lions;
  Wise hackers smile like tigers.                   --a tanka, or extended haiku




reply via email to

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