Boost logo

Boost Users :

Subject: [Boost-users] [wave] How to enumerate all function declarations in a preprocessed header
From: David Larsson (laserallan_at_[hidden])
Date: 2009-05-10 10:55:16


Hi!

I'm trying to use booost.wave to parse some C headers and generate code for
each function declaration found.

How would you write code that identifies all function declarations?

Is there any higher level structure that helps me finding this or do I need to
create some state machine that matches the pattern for a function declaration
from what's found in the token iterator?

Thanks
/David


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net