|
Boost Users : |
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-08-08 11:46:22
AMDG
piotr270977_at_[hidden] wrote:
> I have to finish parser with error from actor. Is it possible ?
>
> for example:
>
> rule<> r = (int_p[do_push] >> *('.' >> int_p[do_push])) [do_act]
> | ...................
> | ...................
> ;
>
> How to stop parsing in do_act function and exit parser with error pronounce in parse_info<> ?
>
Try throwing an exception.
In Christ,
Steven Watanabe
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