Ya, there is no language support for this at present. You'll have to use actions.
I think it would be good if one could embed properties into states and then query whether or not the property is set at runtime. It would have a number of applications, including this. Adrian Brian Palmer wrote: > Hi, I have a use case where I need to differentiate between final > states with outgoing transitions, and final states without outgoing > transitions. In other words, I need to whether there is the > possibility of further input being parsed, even if cs >= first_final. > Can ragel tell me which kind of state cs is? Or will I need to track > this externally with an action? I suspect the latter since I couldn't > find anything in the docs, but thought I'd ask. > > thanks, > > -- Brian Palmer > > _______________________________________________ > ragel-users mailing list > [email protected] > http://www.complang.org/mailman/listinfo/ragel-users _______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
