[ragel-users] Detecting failure state

Peter Gervais pgervais at xplornet.com
Mon Jan 24 19:51:02 UTC 2011


Adrien,
   I need to know in which state of the state machine where a parsing error has occurred. Once an error has occurred, i need to be able to map the failure state number to the actual rule where the failure has occurred i.e. its not much use printing out failure in state X. It would much better if we could print out the text of the exact rule where the failure happened.  
1) Is there support for this at this time? 
2) What is the best way to do this ?
3) is there a place i can pick up the latest source for ragel which includes any patches you may have made without having to patch it myself? i.e. a complete tar bundle of the very latest work?

Peter Gervais
17621 Island Rd, 
RR#1 Martintown, Ontario
Bus: 1-613-938-6549
Cell: 1-613-864-7370
pgervais at xplornet.com




_______________________________________________
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