[ragel-users] hidden reserved keywords?

Adrian Thurston thurston at complang.org
Thu Jun 30 01:43:46 UTC 2011


Those should be documented.

http://www.complang.org/redmine/issues/302

On 11-06-28 12:17 PM, Denis Naumov wrote:
> 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
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
> --===============0832764

-- 
Dr. Adrian D. Thurston
http://www.complang.org/thurston/

_______________________________________________
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