QM 4.1.x $define1 directive generates submachines recursively
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
The non-recursive directive $define1 applied to a state machine generates any sub-machines present recursively. This defeats the purpose of non-recursive code generation for cases when you wish to split the source code into multiple implementation files. Such splitting is not possible when the submachines are already defined recursively in the file that contains the state machine definition.
The fix is not to generate sub-machines from the $define1 directive applied to the state-machine.
--MMS
Anonymous
Fixed in QM 4.2.0.
--MMS