Re: C++-pretty-printer wanted !!!

henrik@atlas.sto.foa.se (Henrik Johansson)
Fri, 7 Oct 1994 12:15:41 GMT

          From comp.compilers

Related articles
C++-pretty-printer wanted !!! fgr@eup.siemens-albis.CH (1994-09-10)
Re: C++-pretty-printer wanted !!! smh@Franz.COM (1994-09-14)
Re: C++-pretty-printer wanted !!! rfg@netcom.com (1994-09-14)
Re: C++-pretty-printer wanted !!! euambn@eua.ericsson.se (1994-09-17)
Re: C++-pretty-printer wanted !!! henrik@atlas.sto.foa.se (1994-10-07)
Re: C++-pretty-printer wanted !!! rfg@netcom.com (1994-10-14)
| List of all articles for this month |

Newsgroups: comp.compilers,comp.lang.c++
From: henrik@atlas.sto.foa.se (Henrik Johansson)
Keywords: C++, comment
Organization: FOA, Stockholm, Sweden
References: 94-09-018 94-09-066
Date: Fri, 7 Oct 1994 12:15:41 GMT

Fohringer Joerg EUQ4 (fgr@eup.siemens-albis.CH) wrote:
>I'm looking for a C++-pretty-printer ...


Michael Bergman <euambn@eua.ericsson.se> wrote:
>You can look into this one: indent++.tar.Z
>
>It's more or less an extended indent I think. ...


I have tested it on a SGI system, and I'm sorry to say that it
does not work. A few serious C problems of the source were easy
to patch. But the result does not indent the '::' correctly when
templates are used, and the 'private:' keyword is indented in
the wrong direction. All this makes it impossible to use.


Why can't the GNU project just fix the GNU-indent to cope with C++ ?
[Probably because it's not a high priority with them. But if you wanted
to fix it yourself, I'm sure they'd be happy to get the changes. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.