[ragel-users] Re: Bug or feature?
Carlos Antunes
cmantu... at gmail.com
Sat Jul 14 20:24:18 UTC 2007
Adrian,
Ok, read the thread and that message specifically. I still don't get
why a machine that doesn't get entered gets to be exited. If a
transition goes around, not through, the machine, why would the exit
action of that machine be called? After all, that optional machine
final state may never be transitioned to, right? How come it can be
transitioned from, then?
Thanks!
Carlos
On 7/14/07, Adrian Thurston <thurs... at cs.queensu.ca> wrote:
> Hi Carlos,
>
> See this thread:
>
> http://groups.google.com/group/ragel-users/browse_thread/thread/9509ab83d7f022f1/
>
> And in particular this message:
>
> http://groups.google.com/group/ragel-users/msg/79546a93494e6773
>
> -Adrian
>
> Carlos Antunes wrote:
> > Adrian,
> >
> > I have the following construct:
> >
> > password = password_char**
> > >{ capture_start(capid_password, p); }
> > %{ capture_stop(capid_password, p); };
> >
> > When I feed a string that doesn't match "password", "capture_stop" is
> > immediately called but not "capture_start". I would expect that either
> > both or none are called (I prefer both). What say you?
> >
> > Thanks!
> >
> > 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