[ragel-users] hidden reserved keywords?

Denis Naumov alexander.me at gmail.com
Tue Jun 28 19:17:46 UTC 2011


Hi, Adrian.

%%{
       text   = [a-z];
        CRLF   = '\r' '\n';

       from   = "From:"i text* CRLF;

       main   := from;
}%%

produce following error message:
parse2.rl:16:9: at token KW_From: parse error

the same error was if i wrote:

   to = "To:" text* CRLF;

parse2.rl:16:9: at token KW_To: parse error

and "Eof" :)))
and ... posible for other keywords.

Is this bug or undocumented restriction?
Can you fix it?

Thanks.

Best regards,
Denis Naumov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20110628/d3fd2cb7/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