Hi All,
I am trying to come up with a script that will list out all the functions & its source code, from a .c file.
I tried doing it using Python Lex Yacc. But, it only lists the names of the functions.
eg.
void foo()
{
do this
& this
}
I need the script to give me an output similar to the above for all the functions written in a .c file.
Does perl provide such facility. Is there any CPAN module already?
Any suggestions/advice?
Thanks,
Prasanth.