[ragel-users] runaway action

Adrian Thurston thurs... at cs.queensu.ca
Fri Aug 8 16:32:23 UTC 2008


Hi Manfred, could you provide us with some code and the expected result?

Adrian

On Sat, 2 Aug 2008, Manfred_Nowak wrote:

>
> 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
> well.
>
> 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?
>
> -manfred
> >



More information about the ragel-users mailing list