Matthieu Tourne wrote:
I've tried that without much success, I have a union with all my scanner patterns, wrapped in ()**. I have also replaced all the => { do_stuff(); } in the scanner with @{ do_stuff(); } for each pattern.

If you want, post the specifics and we might be able to nail down the problem.

So, I'm back to using a scanner construction, but resetting the backtracking in between buffers, and it seems to work fine.
Are there any concerns with doing something like that ?

No.

-Adrian

_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to