Boost logo

Boost :

From: Christian Holmquist (c.holmquist_at_[hidden])
Date: 2007-08-15 05:04:37


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,


Boost list run by bdawes at, gregod at, cpdaniel at, john at