SPUG: Parsing (or at least matching) C function prototypes
cjac at colliertech.org
Tue Mar 23 10:16:56 PDT 2010
I bet gcc is pretty good at parsing C...
On Mon, 2010-03-01 at 19:04 -0800, Michael R. Wolf wrote:
> In order to create an instrumentation layer in his C code, a friend
> wants to extract function prototypes from his C code.
> His first try worked with regular expressions.
> And now his second try also works with regular expressions.
> His solution may be "good enough", but on the (likely chance) that he
> calls me again, does anyone know of code that could help *parse* (or
> at least recognize with mo' bettah regexp's) his C code?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the spug-list