two state machines in single source - I cannot believe
mforal.n... at gmail.com
Sat Jun 7 17:41:28 UTC 2008
> Uncommenting the line in action endpt1:
> 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.
More information about the ragel-users