runaway action

Manfred_Nowak svv1... at
Sat Aug 2 11:01:36 UTC 2008

I am using the state chart facility described in 6.4 of the manual.
Everything went fine until I tried to attribute the start state with
an action.

On the minimization process the start state gets incoming edges and a
self loop.

First I attributed the start state with `>from(action)', which worked

Then I attributed the start state with `>to(action)'---nothing
happened. On inspecting the resulting automaton I had to recognize,
that the start state had no more incoming edges and no self loop:
ragel had introduced a new inner node to which all previously incoming
edges and the self loop of the previous start state were attached; the
new start state had only outgoing edges :-(

How to fix this?

More information about the ragel-users mailing list