Boost logo

Boost Users :

Subject: [Boost-users] on_error and calc4.cpp
From: Xavier Pegenaute (xpegenaute_at_[hidden])
Date: 2010-03-02 05:20:50


Hi,

I have some question about on_error behavior.

- Why the error explanation is only shown when the user changes a number by a
some other characters?, may be because there is not rule for "+-/*" ? is it
necessary to be a rule to show where the error is?

- When is useful to write more than one on_error?, may be when you want to
show different messages for each different rule?

- What is the rule to use as on_error first parameter?, I guess the most
general rule of the parsing zone.

Thanks & Regards.
Xavi.


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