Nope. That was the problem. Thanks! On Thu, Nov 27, 2008 at 7:22 PM, Adrian Thurston <[EMAIL PROTECTED]>wrote:
> Did you set eof = pe to trigger the EOF actions? > > -Adrian > > Larry Edelstein wrote: > > I'm confused about leaving actions. > > > > If my machine looks like > > > > main := 'something' %A; > > > > And I run it with the input 'something', why doesn't it run action A? > > > > In the docs: > > > > "If a final state of the machine is still final when compilation is > > complete then the leaving action > > is also embedded as an EOF action. Therefore, leaving the machine is > > defi ned as either leaving on > > a character or as state machine acceptance." > > > > In the example I've described, the machine is accepted, but the action > > isn't triggered at EOF. What am I missing? > > > > -larry > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > ragel-users mailing list > > [email protected] > > http://www.complang.org/mailman/listinfo/ragel-users > > _______________________________________________ > ragel-users mailing list > [email protected] > http://www.complang.org/mailman/listinfo/ragel-users >
_______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
