EXIT_STATE macro definition in C header missing parameter
Translates state machine into a target programming language.
Brought to you by:
cwrapp
Hello,
Problem:
The EXIT_STATE macro definition for C header file appears to be missing a parameter causing compilation error. This occurs whenever the state machine contains Exit Actions.
Source File: SmcHeaderCGenerator.java, Line: 345
Original Line:
mTarget.println("#define EXIT_STATE(state) \\");
Proposed Change:
mTarget.println("#define EXIT_STATE(fsm, state) \\");
where the first parameter is fsm and is inferred from the C source file usage of EXIT_STATE.
Thank you.
I can confirm this behavior and confirm that it was introduced in 7.3.0
Corrected in SMC release 7.4.0.