On Mon, Jan 23, 2012 at 08:31, Victor Khimenko <[email protected]> wrote:

>> Hi Victor,
>>
>> There is a chapter in the documentation about nondeterminism. Anything
>> something there that can help in this situation?
>>
> No. The task (as you've formulated it) principally can not be solved using
> your definition: to know if identifier is finished or not you need unlimited
> lookahead or backtracking.

I understand. What I've done instead is to match on [^:]* and qualify
the content of the name in code. This doesn't seem like the best way,
but is clean enough to work with for the time being.

_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to