<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body >Hi Josh, those are unterminated write statements. Two percents begin ragel code.<div></div><br><br>-------- Original message --------<br>From: Josh Haberman <jhaberman@gmail.com> <br>Date:06-28-2014 4:40 AM (GMT-05:00) <br>To: ragel-users@complang.org <br>Subject: [ragel-users] "scanner error" <br><br>I was trying out Ragel for the first time today and run into the<br>somewhat perplexing error message "scanner error".<br><br>Since the code contains a comment questioning whether this error is<br>reachable, I wanted to give you a repro that reaches it -- here's my<br>reduced test case:<br><br>%%machine m;<br>%%write<br>%%write<br><br>$ ragel -C -o test.out test.rl<br>test.rl:2:10: scanner error<br><br>This repro is for 6.8 (git appears to be 6.7 -- source repo is older?)<br><br>Josh<br><br>_______________________________________________<br>ragel-users mailing list<br>ragel-users@complang.org<br>http://www.complang.org/mailman/listinfo/ragel-users<br></body></html>