mwherman@watcgl.UUCP (Michael W. Herman) (05/14/85)
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
advance.
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@waterloo.CSNET
ARPA: mwherman%watcgl%waterloo.CSNET@csnet-relay.ARPA
mwherman@watcgl.UUCP (Michael W. Herman) (05/14/85)
Line: > double foo(a, b, c) { should have read: > double foo(a, b, c)