two state machines

Arne Goedeke la... at laramies.com
Fri Jun 6 10:49:17 UTC 2008


In case you cannot put both state machines together.. I would put the
second state-machine into a new function and call that one. Thats how
I did the parsing of JSON (which has recursions).

arne

On Jun 6, 12:06 pm, mastupristi <cia... at gmail.com> wrote:
> I need to parse a string using a state machine, and then  a part of
> this string must be parsed with another state machine.
>
> I tried reassign p pointer and using fgoto statement, but it doesn't
> work.
>
> haw can I do this?
>



More information about the ragel-users mailing list