[ragel-users] union operator and thread-local variables

Devin Bayer web at t-0.be
Wed Oct 28 15:27:30 UTC 2009


Adrian Thurston wrote:
> My suggestion is to store away values as you parse and then act when you 
> get to the end of a 'stamp' using a leaving action. That way only one 
> action will happen,

Hi. Thanks for the suggestion, but I don't understand how to 
implement it.

(1) How do I "store away values" without using an action?
(2) When storing values, both the correct and incorrect values 
will be stored.  Which values do I use when leaving stamp?

Thanks,
Devin Bayer




More information about the ragel-users mailing list