[ragel-users] eof error

Max Suraev max at darim.com
Mon Apr 13 10:04:19 UTC 2009


Hello.

I'm trying to implement simple FSM describing protocol logic.

ragel gave me no errors and successfully compiled machine but I got
error from gcc while trying to compile resuls:
eof not defined.

Since I do not use such variable in .rl file I guess there is something
wrong with the way I use code generated by ragel.

Could you please take a look and point towards possible error?

Machine is quite simple (3 states, actions are just stubs doing nothing
but printing) so I'm pretty much stuck at this point.

Any general critics\recommendations are more than welcome.

best regards,
Max.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enum_fsm.rl
Type: text/x-csrc
Size: 2004 bytes
Desc: not available
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20090413/ae211600/attachment-0001.c>


More information about the ragel-users mailing list