home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- From: jes@grendel.demon.co.uk (Jim Segrave)
- Path: sparky!uunet!pipex!demon!grendel.demon.co.uk!jes
- Distribution: world
- Subject: Re: (SUMMARY - no replies!) INDENT for C++ ?
- References: <1992Aug20.141202.5265@bradford.ac.uk>
- X-Mailer: cppnews $Revision: 1.14 $
- Organization: None
- Lines: 34
- Date: Fri, 21 Aug 1992 21:24:13 +0000
- Message-ID: <714458593snx@grendel.demon.co.uk>
- Sender: usenet@gate.demon.co.uk
-
-
- In article <1992Aug20.141202.5265@bradford.ac.uk> T.D.G.Sandford@bradford.ac.uk (TDG SANDFORD) writes:
-
- > In article <1992Aug11.145758.15266@bradford.ac.uk> I wrote:
- > >Is there a version of the (Unix) indent program which will work on C++
- > >programs. The versions I've used all work only on std. C, and get upset
- > >by certain C++ syntax (especially // comments)
- > >
- > >I am particularly interested in MSDOS versions, but Unix source would
- > >probably do (eg GNU).
- > >
- > >Reply by e-mail if possible, I will post a summary in about a week's time.
- > >--
- > I got no replies, so I guess the answer to my original question was no :-(
- > ---
- > Thomas Sandford | t.d.g.sandford@bradford.ac.uk
- I have (somewhere buried on some old backup discs) something called
- indentpp - I beleive it was a rework of gnu indent, allegedly for C++
- and C. I looked at porting it to Turbo C at the time, but since I
- haven't actually been doing much C++ programming, I stuck with the C ony
- version of indent which I already had modified to include some personal
- quirks of my own. I didn't respond to your post since I assumed that
- there's probably a more recent version someone would tell you about. I
- beleive it came from comp.sources. If you are really stuck, mail me and
- I will try to dig it out. I can't say what it was like, since I never
- built it - I suspect the only documentation is in the source itself.
- From some recent work I've been doing with other Unix based utilities, I
- would recommend using djgcc (the DOS port of gcc) if at all possible,
- since porting to this is usually a matter of hours compared to several
- days to shoehorn these prgrams under a 16 bit compiler. Of course, you
- have to use a [34]86, but they are getting cheap these days.
- --
- Jim Segrave (Segrave Software Services) jes@grendel.demon.co.uk
-
-