This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Fix annoying space in formatting
On Sun, 27 Jun 2004, Richard Henderson wrote:
| On Sun, Jun 27, 2004 at 10:24:53AM -0500, Gabriel Dos Reis wrote:
| > The long term solution, of course, is to
| > rewrite cp/error.c in terms of the new pretty-printer.
|
| How about rewriting the pretty printer such that it shares the bulk
| of its code in tree-pretty-print.c?
The new pretty-printer was being rewritten when cp/error.c was
somehow copied and edited to produce tree-pretty-print.c.
Yes, at some point they should share code, but there was no
way for me to stop that error to happen (in time). The long-term
solution for cp/error.c is to use cp/cxx-pretty-print.c. I suppose
the same will happen for tree-pretty-print.c and c-pretty-print.c.
-- Gaby