Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2004-07-19 03:23:16

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

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