This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: line-map.c
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Robert Dewar <dewar at gnat dot com>
- Cc: kenner at vlsi1 dot ultra dot nyu dot edu, gcc at gcc dot gnu dot org
- Date: Sun, 29 Jun 2003 09:36:57 +0100
- Subject: Re: line-map.c
- References: <20030629013205.44357F2DA9@nile.gnat.com>
Robert Dewar wrote:-
> > Per has managed to change that file, and he didn't write it, so others
> > do seem quite capable of figuring out what it does.
>
> That of itself is not really relevant. I am sure there are people who can
> manage to figure out almost anything, but to me the purpose of documentation
> is precisely to *eliminate* the need to "figure out" what a given code unit
> does.
>
> In the GNAT world, we always encourage new people reading the sources for the
> first time to point out any place where they feel that more comments could
> have made it easier to read. We almost always consider such comments prima
> facie evidence of inadequate documentation, and we certainly don't think that
> it is enough to point out that some experts very familiar with the system have
> managed to figure things out.
I still don't see what's so unclear about
Map logical line numbers to (source file, line number) pairs.
particularly as we three discussed this in the past!
However, if you give me a rough paragraph you'd like added, I'd be
happy to tweak it and/or apply it.
Neil.