two state machines in single source - I cannot believe
pazzodaleg... at gmail.com
Sat Jun 7 19:46:55 UTC 2008
On 7 Giu, 19:41, mitchell <mforal.n... at gmail.com> wrote:
> > Uncommenting the line in action endpt1:
> > //p--;
> > FSM1 machine behaves as expected ("OK pt2" is printed")..could you
> > help to find my mistake?
> You're setting p to be equal to FN which is the starting position of
> the character array you declared. If you decrement p, you cannot read
> that point in memory as it's before your allocated memory for FN.
> Take care,
Thank you for your "answer".
Yes I know, that's why it's under comment...
More information about the ragel-users