El Viernes, 13 de Marzo de 2009, Jason Garber escribió:
> Since Ragel makes it so easy to generate code in several languages,
> I'm adding a pure-ruby parser to RedCloth (it already has C and Java
> extensions).  My only problem is that the actions of the last pattern
> matched by the scanner don't happen.  It is happening in both my
> block-level scanner and my inline scanner and it's different patters/
> actions that fail to execute, but always at the end of the string.

Add '\0' to the Ruby string you want to parse.



-- 
Iñaki Baz Castillo

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

Reply via email to