[ragel-users] Re: fexec bug in v5.15?

Carlos Antunes cmantu... at gmail.com
Thu Nov 9 21:20:19 UTC 2006


On 11/9/06, Adrian Thurston <thurs... at cs.queensu.ca> wrote:
>
>
> > Hmm, from the point of view of the ragel end user, things would
> > automagically work as "expected", no? I don't see where the change in
> > semantics is in this case...
>
> fhold would become a control flow statement because of the jump
> necessary to immediately restart. The remainder of the action would
> become unreachable. It's a subtle difference, but I think it's the kind
> of thing that causes people to become confused about the meaning the
> statements.
>

Adrian,

No, that's not the idea. For example, an fhold would set a flag called
"need_to_restart". At the *END* of the action, the restart would
happen if "need_to_restart" was set.

Carlos

-- 
"We hold [...] that all men are created equal; that they are
endowed [...] with certain inalienable rights; that among
these are life, liberty, and the pursuit of happiness"
        -- Thomas Jefferson



More information about the ragel-users mailing list