Boost logo

Boost Users :

Subject: Re: [Boost-users] [Spirit] Stack overflow, suspect infinite recursion
From: Bjorn Reese (breese_at_[hidden])
Date: 2013-06-03 15:04:27


On 06/03/2013 04:26 PM, Simon wrote:

> I'm writing a math string parser with boost::spirit and I'm stuck on
> this stack overflow. I've seen this before when I wrote a rule that was
> misleading.

When this happens, it is often due to left recursion:

   http://en.wikipedia.org/wiki/Left_recursion

I did not check you grammar, though.


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