[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 02-lineno.patch
From: |
Akim Demaille |
Subject: |
Re: 02-lineno.patch |
Date: |
04 Oct 2001 17:33:16 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) |
>>>>> "Raja" == Raja R Harinath <Raja> writes:
Raja> Seems OK on Solaris 2.6, except for the line number. I tested
Raja> it with both /bin/awk and gawk. Both of them produced
Raja> configure.lineno with line numbers one too big. Why the NR+1
Raja> instead of plain NR?
Dunno, was in autoconf-2.13 and I didn't think :)
As a matter of fact, I think I know: when you put
#line 13
it means the line 13th in the one just *after*, i.e., `#line' is
actually in line 12. But you are right, the +/- 1 does not matter,
let's keep $LINENO as is, even if it's slightly incorrect wrt CPP.