[ragel-users] One question.

Jonathan Castello twisolar at gmail.com
Tue Mar 29 14:55:35 PDT 2011


On Tue, Mar 29, 2011 at 1:15 PM, Gordeev Vladimir
<gordeev.vladimir.v at gmail.com> wrote:
> So I got following error:
>
>     test.rl:7:32: graph lookup of "list" failed

The reason you get that error is because a rule can only reference
definitions that came before it. "list" doesn't exist until the
definition is finished, so it can't reference itself. (That would
create a recursive structure anyways, which Ragel isn't equipped to
handle natively.)

~Jonathan



More information about the ragel-users mailing list