
Hi, Is it possible to use wave only for the following? - Macros - Conditional inclusion/exclusion - #include handling In other words, it is possible to use wave with a dummy lexer? The idea is to use wave to generate a string representation after preprocessing a file; the resulting string can then be passed to a custom spirit V2.2+ grammar. One could write a lexer with the tiny subset of C++ tokens that is used in my grammar, but that seems overkill for a small grammar (which is currently well- tested and performs quite well). The application is very similar to the C++- like config file structure supported by property_tree. The closest I have been able to come using components out of the box is to use the cpplexer with the following non-default features (compared to the quick- start example): - preserve comments - disable whitespace insertion If a dummy lexer is already available that works, where can it be found? Regards, Ravi