http://www.perlmonks.org?node_id=771582


in reply to Re: parsing C functions.
in thread parsing C functions.

If my assumption is correct
You meant , apart from normal C code, we had to put additional comments on the start of the function like
/* Function : main Purpose: .. Author: .. */ void main() { ... }
and identify the functions depending upon the comments.
You should have given a code example, otherwise this would lead to confusion
UPDATE
this was reply to irah's post, not directly to onkar's post.
I just clarified what irah was trying to say

Vivek
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Replies are listed 'Best First'.
Re^3: parsing C functions.
by Anonymous Monk on Jun 15, 2009 at 08:36 UTC
    No, its like int main(){ printf("In - %s%d%s\n",__FILE__,__LINE__,__func__); ....do something here .... printf("Out -%s%d%s\n",__FILE__,__LINE__,__func__); return 0; } in all the functions in the large code base containing at least 10000 functions like the Linux Kernel source .... Regards, Onkar