[ragel-users] Re: Error actions and error recovery

Adrian Thurston thurs... at cs.queensu.ca
Wed Sep 5 21:23:07 UTC 2007


Steve Horne wrote:
> For this to work, it is important that neither 'se' nor 'other' can
> accept a empty match - if they did, I suspect you'd get an infinite
> loop with the standalone '{' match never firing. Is that right,
> Adrian?

In theory empty scanner actions would cause an infinite loop, but ragel
isn't implemented that way. It actually would have taken extra effort to
make ragel go into an infinite loop on empty patterns and I couldn't see
a use for it.

-Adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20070905/1e8449bf/attachment-0001.sig>


More information about the ragel-users mailing list