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.
_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to