|
Boost Users : |
Subject: Re: [Boost-users] [spirit/qi] Error handler not called
From: Joel de Guzman (djowel_at_[hidden])
Date: 2013-01-27 22:43:07
On 1/27/13 9:31 PM, Szymon Gatner wrote:
> 2013/1/27 TONGARI <tongari95_at_[hidden]>:
>
>>> parising result is false. but error handelr is never called. What am I
>>> doing wrong?
>>
>>
>> You're not using expectation point (i.e. ">"), so no error would be
>> triggered.
>>
>
> Ah, understand now. I thought expectation points were additional
> error handling mechanism. So without expectation points all error
> handing must be done "manually" based on position of first iterator
> after parsing right?
>
> I could not find any error handing information in the docs. Am I
> missing something?
Here's another article you can read:
http://boost-spirit.com/home/2011/02/28/dispatching-on-expectation-point-failures/
Regards,
-- Joel de Guzman http://www.boostpro.com http://boost-spirit.com
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