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

Adrian Thurston adrian.thurston at esentire.com
Wed Oct 28 15:32:08 UTC 2009


Store away to different variables using different actions.

-Adrian

Devin Bayer wrote:
> 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
> 
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
> 




More information about the ragel-users mailing list