Menu ▾ ▴

#201 v6.4.0: missing EXIT_STATE() macro in generated C code

Assigned
closed-fixed
None
5
2015-07-26
2015-02-05
Frank
No

Hi,

the attached .smc file doesn't contain Exit {...} actions for each state. In SMC v6.3.0, the EXIT_STATE() macro was generated as an empty macro.

But in SMC v6.4.0, EXIT_STATE() isn't #defined at all, but called (see attached .c file). The code doesn't compile.

(I know I can add empty Exit {...} actions to each state, but anyway...)

Kind regards
Frank

2 Attachments

Discussion

  • Frank

    Frank - 2015-02-05

    (I know I can add empty Exit {...} actions to each state, but anyway...)

    No, sorry, it doesn't help. I just tried it, the EXIT_STATE() macro is not generated if Exit {...} is empty :-(

     
  • Frank

    Frank - 2015-02-18

    This fixed it, thank you!

     
  • Charles Rapp

    Charles Rapp - 2015-07-26
    • status: open --> closed-fixed
     
  • Charles Rapp

    Charles Rapp - 2015-07-26

    Corrected in release 6.5.0.

     

Log in to post a comment.