[ragel-users] Re: fhold and fexec in scanner pattern actions

Carlos Antunes cmantu... at gmail.com
Sat Nov 11 21:05:53 UTC 2006


Wonderful, it's working now. Thanks!

On 11/11/06, Adrian Thurston <thurs... at cs.queensu.ca> wrote:
>
> Oops, I neglected to mention that you'll need to rebuild the parsers
> from the flex/bison sources. Take a look at the README file in the top
> level directory which says how to turn that on.
>
> Cheers,
>   Adrian
>
> Carlos Antunes wrote:
> > On 11/10/06, Adrian Thurston <thurs... at cs.queensu.ca> wrote:
> >> This patch (to go into 5.16) allows fhold and fexec to function
> >> correctly in scanner pattern actions. In this context, fexec and fhold
> >> now manipulate tokend, which is always used to update p when the action
> >> terminates.
> >>
> >
> > Adrian,
> >
> > Thanks for the patch. There's soemthing wrong with it, though. I've
> > attached a test file that bombs with the error "<unknown>::56:152:
> > syntax error" when I add an fhold or fexec in line 398.
> >
> > 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