[ragel-users] Anchoring to the EOF
Julian Morrison
julian.morrison at gmail.com
Sun Jan 25 01:24:53 UTC 2009
Easy when you know how. Thanks :-)
2009/1/25 Adrian Thurston <thurston at complang.org>
> Like this:
>
> error_handler := any* :>> '\n' @{fgoto main;};
>
> main := whatever $!{fgoto error_handler;};
>
> -Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20090125/8a86af0e/attachment-0001.html>
More information about the ragel-users
mailing list