home *** CD-ROM | disk | FTP | other *** search
- To: kingdon%apple-gunkies.ai.mit.edu@uk.ac.nsfnet-relay
- From: Graham Toal <gtoal@uk.ac.uk>
-
- Hello Jim -- are you still hacking GNU Indent? If so, could you handle
- updates starting from the versions below or would you prefer to send
- me your current source so that we can start off in synch?
- (I presume gnu diff context diffs will be acceptable?)
-
- I've made the following changes:
-
- 1) Fixed a major portability bug: the code was relying on variables
- being zeroed by malloc. This isn't always the case.
-
- 2) Added support for ANSI unsigned constants such as 65535U
-
- 3) Changed the source from a mixture of K&R and ANSI to all ANSI.
- (Note - it has some enums in it so would not go through most
- old K&R compilers anyway; it now compiles under a strict ANSI
- compiler without warnings)
-
- 4) Added a tiny amount of machine-specific help for the Acorn
- Archimedes, compiled under suitable ifdef's.
-
- 5) Renamed the files so that they work on systems with shorter names.
-
- 6) Added .h files for all .c files (eg parse.c now has a parse.h which
- declares all the external procedures defined in parse.c).
- The original indent_glob.h is now externs.h, and has had several
- bogus declarations repaired.
- All the .c -> .h headers can be automatically generated by
- mkptypes (or makeproto), and I'd suggest putting a dependency
- in the makefile to do this.
-
- 7) Added support for the Mnemosyne memory debugging package recently
- posted to usenet. (all ifdef'd) Cleans up heap and guarantees no
- memory leakages. Not really important at the moment, but might be
- in the future if the indent code were to be called, say, as a
- subroutine from some other package.
-
- I hope this is helpful to you. It sounds like a lot of code but it isn't
- actually all that much. It was only two evenings worth of hacking, and
- shouldn't take more than an hour or two to merge back in. Before cleaning
- it up like this the code came nowhere near to running on my machine.
-
- Best regards,
- Graham.
-
- static char sccsid[] = "@(#)args.c 5.8 (Berkeley) 5/15/89";
- static char sccsid[] = "@(#)pr_comment.c 5.9 (Berkeley) 9/15/88";
- static char sccsid[] = "@(#)indent.c 5.11 (Berkeley) 9/15/88";
- static char sccsid[] = "@(#)io.c 5.10 (Berkeley) 9/15/88";
- static char sccsid[] = "@(#)lexi.c 5.11 (Berkeley) 9/15/88";
- static char sccsid[] = "@(#)parse.c 5.8 (Berkeley) 9/15/88";
-