Wanted:program which creates a C++ function declaration manifest file ...

Michael W. Herman mwherman at watcgl.UUCP
Tue May 14 07:06:59 AEST 1985

for set of regular C functions given only the list of regular C source files 
that define the functions.

Basically, the problem is to take a regular C source file containing:

double foo(a, b, c) {
int a;
char b;
char* c;
    b = c[a];
    return 3.14159 * (int)b;

and form the C++ function declaration:

double foo(int, char, char*);

I have a yacc grammar for C that I will probably start with but I would
like to hear from EVERYONE who has done something similar.  Thanks in

Michael Herman
Computer Graphics Laboratory
Department of Computer Science
University of Waterloo
Waterloo, Ontario, Canada  N2L 3G1

UUCP:   {allegra,ihnp4,watmath}!watcgl!mwherman
-or-    {cbosgd,clyde,decvax,linus,tektronix,utcsrgv}!watmath!watcgl!mwherman
CSNET:  mwherman%watcgl at waterloo.CSNET
ARPA:   mwherman%watcgl%waterloo.CSNET at csnet-relay.ARPA  

More information about the Comp.lang.c mailing list