[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yyfprintf request
From: |
Paul Eggert |
Subject: |
Re: yyfprintf request |
Date: |
Mon, 23 May 2011 18:57:43 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 |
On 05/23/11 18:02, Tys Lefering wrote:
> Can you update the YYFPRINTF macro use to be
> everywhere "YYFPRINTF (stderr, format, args)"
> as is mentioned in the manual ?
It already is that way. As the manual says,
YYFPRINTF has the usual printf calling convention,
where the number of arguments depends on the format.
If the format does not contain any conversion specifications,
YYFPRINTF should be called with two arguments. If the format
contains (say) three conversion specifications, YYFPRINTF
shoudl be called with 2+3 == 5 arguments.