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


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?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at