[ragel-users] "scanner error"

thurston thurston at complang.org
Sat Jun 28 13:46:27 UTC 2014


Hi Josh, those are unterminated write statements. Two percents begin ragel code.


-------- Original message --------
From: Josh Haberman <jhaberman at gmail.com> 
Date:06-28-2014  4:40 AM  (GMT-05:00) 
To: ragel-users at complang.org 
Subject: [ragel-users] "scanner error" 

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20140628/179e55eb/attachment-0001.html>
-------------- next part --------------
_______________________________________________
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