
15 Aug
2007
15 Aug
'07
9:04 a.m.
Hello, Our own regressions with parsers built on spirit fails with boost 1.34.0(haven't tried 1.34.1 yet). Before 1.34, the following worked. #include <boost/spirit/core.hpp> void main() { using namespace boost::spirit; const char *text = "1 "; assert(parse(text, int_p, space_p).full); } Now, it seems that the trailing space after the '1' in text is not consumed by the space_p, and parse does not return a full parse in parse_info. Is this the intentional behaviour and we should update our rules to take care of any trailing white space? Best regards, Christian