[ragel-users] Problem with an indetermination

Iñaki Baz Castillo ibc at aliax.net
Wed Feb 11 23:59:04 UTC 2009


El Jueves, 12 de Febrero de 2009, Iñaki Baz Castillo escribió:
> > Now on each space the value is only stored. Basically you need to mark
> > the end separately from doing something about it because ever time you
> > think you see the end, it may not be the end.
>
> Thanks a lot. But, isn't inefficient? I mean: if 'name' is "A B C D E F G H
> I" then the % action will be called 9 times and for each time it will store
> the data in @value.

Well, I understand, I could store the data in @value after parsing the 
required "<". For that I would require to store the final value of 'p' when 
leaving 'name'.  :)

Hope I'm right. Thanks.

-- 
Iñaki Baz Castillo




More information about the ragel-users mailing list