Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!hao!hplabs!sri-unix!sjh@Purdue.ARPA
From: sjh@Purdue.ARPA
Newsgroups: net.unix-wizards
Subject: Re:  C Language Cross Referencing (survey)
Message-ID: <16154@sri-arpa.UUCP>
Date: Mon, 30-Jan-84 11:12:14 EST
Article-I.D.: sri-arpa.16154
Posted: Mon Jan 30 11:12:14 1984
Date-Received: Tue, 7-Feb-84 06:13:51 EST
Lines: 41

From:  Steve Holmes 

Bravo!  I am currently maintaining/developing a ~35000 line C program and
would love (read need) a good cross referencer.  As to the handling of 
constants, I would always want them turned on.  (I'm not sure what you 
mean by what 'kind' of constants).

On a different subject one thing which would be useful to me would be a
differentiation in the xref between the statements in the source which
define, reference and set a variable.  A function definition versus a function
reference would be easier but also useful.

for example 

	static int x;			line 10
		.
		.
		.
	a = 2 * x;			line 40
		.
		.
		.
	x++;				line 50


would produce:

	x	.c 10	set	50 
				refs	40 

I realize this could present problems for the xreffer to find and collect all
of the references for each individual 'x' and keep them seperate.  Multiple
declarations also exist for many variables.  My program has most variables
declared in one .h file,  declared as external in another .h file and then
some are allocated space in a .c file.

Looking forward to your product.

Steve Holmes
sjh@purdue
...!decvax!pur-ee!mordred!sjh