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

Reply via email to