[ragel-users] "scanner error"

Josh Haberman jhaberman at gmail.com
Sat Jun 28 08:40:22 UTC 2014


I was trying out Ragel for the first time today and run into the
somewhat perplexing error message "scanner error".

Since the code contains a comment questioning whether this error is
reachable, I wanted to give you a repro that reaches it -- here's my
reduced test case:

%%machine m;
%%write
%%write

$ ragel -C -o test.out test.rl
test.rl:2:10: scanner error

This repro is for 6.8 (git appears to be 6.7 -- source repo is older?)

Josh

_______________________________________________
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