plain_fsm
plain_fsm copied to clipboard
A behaviour/support library for writing plain Erlang FSMs.
The function maybe_add_vsn_f/1 reused the variable Anno, which resulted in a badmatch when the data_vsn/1 callback is not present.
They are deprecated in OTP 24 and warnings are emitted by the compiler. I have tried to follow the original specs as much as possible including inconsistencies like term() on...
In Erlang 24, it is a warning to match a variable that begins with an underscore. Avoid this for generated code with variables such as __FSM_State. With the following program,...