Boost logo

Boost Users :

Subject: [Boost-users] [spirit] qi::raw and skip parsers
From: Juraj Ivanèiæ (juraj.ivancic_at_[hidden])
Date: 2010-11-25 06:19:46


Hi.

I got unexpected results when I introduced qi::raw[] inside qi
expressions. It seems that under certain circumstances qi::raw[]
inhibits skip parser and thus fails to parse valid input. Furthermore,
parse error only occurs if expression is stored in a rule - if
expression is used directly as an argument to qi::parse everything
works. Example attached.

Is this a bug?
If not - could someone kindly explain the rationale for this behavior.

Best Regards,
   Juraj Ivanèiæ




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