Boost logo

Boost Users :

Subject: Re: [Boost-users] [spirit::qi] assertion during parsing
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2010-10-20 08:09:24


On Wed, Oct 20, 2010 at 10:19 AM, Ovanes Markarian
<om_boost_at_[hidden]>wrote:

>
>
> On Wed, Oct 20, 2010 at 10:03 AM, Ovanes Markarian <om_boost_at_[hidden]
> > wrote:
>
>>
>>
>> On Wed, Oct 20, 2010 at 9:50 AM, Ovanes Markarian <om_boost_at_[hidden]
>> > wrote:
>>
>>> On Wed, Oct 20, 2010 at 3:57 AM, Joel de Guzman <
>>> joel_at_[hidden]> wrote:
>>>
>>>> On 10/20/10 12:54 AM, Ovanes Markarian wrote:
>>>>
>>>>> Hello *,
>>>>> [...]
>>>>
>>>> There's a long thread about that. Long story short: just use
>>>> iso8859_1 or standard.
>>>>
>>>> Regards,
>>>> --
>>>> Joel de Guzman
>>>> http://www.boostpro.com
>>>> http://spirit.sf.net
>>>>
>>>
>>> Joel,
>>>
>>> thanks for the answer. I unfortunatelly do not find the required header.
>>>
>>> I tried to include #include <boost/spirit/include/support_iso8859_1.hpp>
>>>
>>> But compiler still blames: that namespace iso8859_1 is not found.
>>>
>>>
>>> With Kind Regards,
>>> Ovanes
>>>
>>
>> [...]
>>
>> Oh, I just had to use another namespace :( boost::spirit:iso8859_1.
>
> One more problem, which arises is that I have to pass the space_type
> parameter to qi::grammar base class. It seems like boost::spirit::iso8859_1
> does not contain a space_type.
>

Sorry for the noise... the problem was that I mixed ascii::space (as
phrase_parse parameter) and iso8859_1::space_type (as grammar template
parameter). Now everything works great!

With Kind Regards,
Ovanes



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net