Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: notesnews 0.1 (unido 12/05/84); site unido.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!unido!fauern!schlenk
From: schlenk@fauern.UUCP
Newsgroups: net.sources
Subject: Re: cpg -- C source lister
Message-ID: <18400001@fauern.UUCP>
Date: Tue, 6-Aug-85 12:22:00 EDT
Article-I.D.: fauern.18400001
Posted: Tue Aug  6 12:22:00 1985
Date-Received: Fri, 9-Aug-85 02:27:47 EDT
References: <326@eneevax.UUCP>
Sender: notes@unido.UUCP
Lines: 22
Nf-ID: #R:eneevax:-32600:fauern:18400001:000:602
Nf-From: fauern!schlenk    Aug  6 14:22:00 1985

Although I like your C source listing formatter there are still 3 problems
left:

	1. In 'cfunc' (line 804) you write unconditionally to tocfile.
	   In case no Table of contents is selected, this will fail.
	   Solution: insert the if-statement.

		    if (tocflag)
			fprintf (tocfile,
			    "%s %s %d %d\n",
			    fh_name, fnc_name, pageno-1, lineno);

	2. Preprocessor #if's are not handled. In the worst case, the
	   nesting level counting gets corrupted. I know, that's difficult
	   to handle.

	3. Where is the man-page I can give to our users ?

Peter

UUCP:	...!mcvax!unido!fauern!schlenk