id summary reporter owner description type status milestone component version severity resolution keywords cc 1752 "Feeding new tokens to be processed from a ""#pragma wave"" directive" caminant@… Hartmut Kaiser "While processing a custom ""#pragma wave"" directive using a struct derived from context_policies::default_preprocessing_hooks like in this example : {{{ class EmptyPreprocessorHooks : public boost::wave::context_policies::default_preprocessing_hooks { public: template bool interpret_pragma(ContextT const &ctx, ContainerT &pending, typename ContextT::token_type const &option, ContainerT const &values, typename ContextT::token_type const &pragma_token) { return true; } }; }}} it is possible to feed tokens in the ""pending"" container, that are copied verbatim to the output. What I think it would be very interesting is that this tokens are not copied verbatim, but parsed and processed. For instance, you could add ""#define"" or ""#include"" directives and they would be processed normally. Right now they are just copied. Thanks." Feature Requests closed Boost 1.36.0 wave Boost 1.34.1 Problem fixed