RefactoringTools/wrangler — pull request #43 by lavrin (2012-09-07 20:37:42+00:00)
Title: Fix gen_fsm NextStateName recognition

The refactoring of gen_fsm state from tuple to record tries to guess next states of the FSM's state functions. However, it omitted the perfectly valid return value of form {reply, _, NextStateName, _} which might be returned after performing a gen_fsm:sync_(all_state)_send_event and is handled by Module:StateName/3 or Module:handle_sync_event/4 respectively.