Boost logo

Boost Users :

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


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
>>
>
> I opended the appropriate header
> boost/spirit/home/support/char_encoding/iso8859_1.hpp
> And see that iso8859_1 is a struct contained in
> boost::spirit::char_encoding namespace.
>
> But I still have compilation errors even with:
> using namespace boost::spirit::char_encoding::iso8859_1;
>
> 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.

Many thanks,
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