Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!oddjob!gargoyle!ihnp4!ihlpf!nevin1 From: nevin1@ihlpf.ATT.COM (00704a-Liber) Newsgroups: comp.lang.c Subject: Re: Fortran could learn from C Message-ID: <3872@ihlpf.ATT.COM> Date: 2 Mar 88 00:56:20 GMT References: <42586@sun.uucp> <1988Feb25.191646.7580@utzoo.uucp> <7358@brl-smoke.ARPA> Reply-To: nevin1@ihlpf.UUCP (00704a-Liber,N.J.) Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 26 Keywords: X3J3 Fortran Draft cpp In article <7358@brl-smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: > >More to the point, it makes sense to integrate preprocessing with other >phases of lexical analysis, and there are existing C implementations >that do this. Yes, but can I get the compiler to show me the code just after going through the preprocessor? I sometimes need to see this for debugging purposes. Example (this happened yesterday): A bunch of symbols weren't being defined, but the header file containing them was in the include path. When I looked at the output of cpp, I noticed that the header file that was included was in the current directory and not the one I was expecting. Without the output of cpp it would have taken me a heck of a lot longer to find this problem. I don't care if the preprocessing is integrated with the other phases of lexical analysis, just as long as it is possible for me to get the output from the preprocessor when I need it. Will ANSI require that, or will it be implementation-dependent?? -- _ __ NEVIN J. LIBER ..!ihnp4!ihlpf!nevin1 (312) 510-6194 ' ) ) "The secret compartment of my ring I fill / / _ , __o ____ with an Underdog super-energy pill." / (_