Adrian, thank you for prompt response, I understand it now :)
In my case, there's a subset of states that I want to act on, outside of action code, without driving through the FSM code proper. Will follow your advice and expose that subset via non-ragel state variable and act on that ! TY Rashid On Wed, Nov 18, 2009 at 11:38 AM, Adrian Thurston < [email protected]> wrote: > The problem with doing this in Ragel is that any particular named > machine definition may correspond to more than one state in the compiled > output. Therefore, a variable to be used outside of the machine would > actually have to be a set of states. > > For this reason, Ragel does not automate the process. Instead, what you > should do is use actions to maintain a state variable that has meaning > outside the FSM. > > -Adrian > >
_______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
