in reply to Script to list out the functions of a C file
See Parse::RecDescent and the demo csourceparser.pl.