
19 Jul
2004
19 Jul
'04
8:23 a.m.
Guillaume Melquiond wrote:
Lines 572-573 of multi_pass.hpp are:
ensure_initialized(); return !data || data->input == InputT();
The code tries to read data in ensure_initialized even when testing for end of file (which means the input iterator is invalid). So here comes a patch.
Thanks for pointing this out. I've fixed it in the CVS's (Boost and Spirit). Regards Hartmut