
18 Apr
2008
18 Apr
'08
5:07 p.m.
Thanks for answers,
The same ideas mentioned here: http://spirit.sourceforge.net/distrib/spirit_1_8_5/libs/spirit/doc/faq.html#...
should help. I.e. Put the function bodies in separate cpp files (possibly using explicitly) instantiation)
Spirit cpp_lexer example splits the grammar, yes. But all instances are in the same file - not splitted. If I split it I get problems with uncomplete types.
Anyway, FYI, here's the Spirit user's mailing list: https://lists.sourceforge.net/lists/listinfo/spirit-general
Correct, but this problem falls into the category: How to instantiate a template where a complete type is required. It seems, that the specializing, as in my 2nd post, is not correct. Thanks, Olaf