This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ error printer cleanup, phase 1
On Mon, Sep 24, 2001 at 01:30:12AM +0200, Gabriel Dos Reis wrote:
> Zack Weinberg <zack@codesourcery.com> writes:
>
> | On Sun, Sep 23, 2001 at 11:19:59PM +0200, Gabriel Dos Reis wrote:
> | > Neil Booth <neil@daikokuya.demon.co.uk> writes:
> | > |
> | > | Do you have any plans to combine cpp's diagnostics with the compiler
> | > | proper?
> | >
> | > There should be no serious work left to accomplish that.
> |
> | It requires we work out who is responsible for keeping track of the
> | current position in the file.
>
> Currently, this is not the job of the diagnostic machinery. The
> location information is currently put in global variables. However,
> one of Neil's project is to put them with trees. Either way, there is
> no nontrivial problem as far as the language-independent diagnostic
> machinery is concerned.
Okay, but in that case, I don't see what you are proposing to unify.
zw