Boost Spirit library permits to Track the Input Position While Parsing. This mechanism allows informing about location of a parser error during parsing.
I'd like to preserve original location for all parsed entities together with them for future use. (For example, AST semantic verification.) What would be the recommended way to do so?
Thank you!