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

Adrian Thurston thurs... at cs.queensu.ca
Sat Nov 11 20:44:13 UTC 2006

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.


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

More information about the ragel-users mailing list