On Fri, May 27 2011, Denis Excoffier wrote:

> On 2010-04-15 00:48, Marcus Rausch wrote:
>> Hi,
>>
>> how about the patch below? It  apparently solves the problem, but I
>> don't know if it has any unwanted side effects.
>>
>> Best regards
>> Marcus
>>
>>
>> *** gen.c-old   2007-05-31 08:21:57.000000000 +0200
>> --- gen.c       2010-04-14 23:58:47.000000000 +0200
>> ***************
>> *** 2159,2164 ****
>> --- 2159,2165 ----
>>
>>        /* Copy remainder of input to output. */
>>
>> +       linenum--;
>>        line_directive_out (stdout, 1);
>>
>>        if (sectnum == 3) {

> Seems to work (i tested it).

        If that is the case, I can install the patch.

> However, i would prefer that you remove one of the blank lines
> *after* this #line directive. That way, the linenum variable
> is left unchanged.

        Could you elaborate? Where is this blank line being emitted?

        manoj
-- 
QOTD: "Wouldn't it be wonderful if real life supported control-Z?"
Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C

Attachment: signature.asc
Description: PGP signature

Reply via email to