SPUG: Parsing (or at least matching) C function prototypes

Michael R. Wolf MichaelRWolf at att.net
Mon Mar 1 19:04:45 PST 2010


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?

Thanks,
Michael

-- 
Michael R. Wolf
     All mammals learn by playing!
         MichaelRWolf at att.net






More information about the spug-list mailing list