home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!usc!wupost!think.com!spdcc!dirtydog.ima.isc.com!karl
- From: karl@ima.isc.com (Karl Heuer)
- Subject: Re: Macros for ANSI prototypes
- Message-ID: <1992Aug18.183720.20714@ima.isc.com>
- Sender: usenet@ima.isc.com (news)
- Organization: Interactive Systems, Cambridge, MA 02138-5302
- References: <1992Aug14.194033.10152@druid.uucp> <3116@isgtec.isgtec.com>
- Date: Tue, 18 Aug 1992 18:37:20 GMT
- Lines: 27
-
- In article <3116@isgtec.isgtec.com> robert@isgtec.com (Robert Osborne) writes:
- >darcy@druid.uucp (D'Arcy J.M. Cain) writes:
- >> ANSI C --> K&R C --> Assembler --> a.out
-
- This is exactly what I do, too.
-
- >Gaak! This is gross.
- >
- >You can't throw away the K&R step because you need the source for debuggers.
-
- Why? The debuggers that I use don't care about anything except the line
- numbers. They don't actually interpret the source code. (In any case, it's
- easy enough to keep the intermediate file around during the debugging phases.)
-
- >It would only take one major bug introduced by the ANSI to K&R
- >step to remove the developer time savings.
-
- My deprotoizer is only 137 lines long, including comments. It's deliberately
- simplified. If it fails to recognize something, it will almost certainly
- cause the next phase of compilation to complain, rather than produce a wrong
- answer.
-
- >I do not consider this even remotely as elegant as the prototype macros.
-
- Well, that's your choice, I guess.
-
- Karl W. Z. Heuer (karl@ima.isc.com or uunet!ima!karl), The Walking Lint
-