I'm confused about leaving actions.<div><br></div><div>If my machine looks like</div><div><br></div><div>main := 'something' %A;</div><div><br></div><div>And I run it with the input 'something', why doesn't it run action A?</div>
<div><br></div><div>In the docs: </div><div><br></div><div><div>"If a  final state of the machine is still  final when compilation is complete then the leaving action</div><div>is also embedded as an EOF action. Therefore, leaving the machine is defi ned as either leaving on</div>
<div>a character or as state machine acceptance."</div><div><br></div><div>In the example I've described, the machine is accepted, but the action isn't triggered at EOF.  What am I missing?</div><div><br></div>
<div>-larry</div></div>