diff options
author | Björn Gustavsson <[email protected]> | 2016-03-02 06:33:45 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-09 13:20:01 +0100 |
commit | 477f490820a28e479527e93d420f26ea23fdf3e3 (patch) | |
tree | 5faa1afdfaf59b12b83155028f2cc22b7b09be63 /lib/stdlib/test/gen_fsm_SUITE.erl | |
parent | 03ec5bc984264feee907408e720015e2bd9b6108 (diff) | |
download | otp-477f490820a28e479527e93d420f26ea23fdf3e3.tar.gz otp-477f490820a28e479527e93d420f26ea23fdf3e3.tar.bz2 otp-477f490820a28e479527e93d420f26ea23fdf3e3.zip |
Replace "%" with "%%" at the beginning of a line
We want to re-ident the source files after having taken out
all ?line macros. When re-indenting using Emacs, it's important
that comments that should be at the beginning of a line (or
follow the indentation of statements around it) must start with
"%%".
Diffstat (limited to 'lib/stdlib/test/gen_fsm_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/gen_fsm_SUITE.erl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/stdlib/test/gen_fsm_SUITE.erl b/lib/stdlib/test/gen_fsm_SUITE.erl index e73cef4175..51de194800 100644 --- a/lib/stdlib/test/gen_fsm_SUITE.erl +++ b/lib/stdlib/test/gen_fsm_SUITE.erl @@ -46,7 +46,7 @@ %% Exports for apply -export([enter_loop/2]). -% The gen_fsm behaviour +%% The gen_fsm behaviour -export([init/1, handle_event/3, handle_sync_event/4, terminate/3, handle_info/3, format_status/2]). -export([idle/2, idle/3, @@ -1062,8 +1062,8 @@ hiber_idle('alive?', _From, Data) -> {reply, 'alive!', hiber_idle, Data}; hiber_idle(hibernate_sync, _From, Data) -> {reply, hibernating, hiber_wakeup, Data,hibernate}. -hiber_idle(timeout, hibernate_me) -> % Arrive here from - % handle_info(hibernate_later,...) +hiber_idle(timeout, hibernate_me) -> + %% Arrive here from handle_info(hibernate_later,...) {next_state, hiber_idle, [], hibernate}; hiber_idle(hibernate_async, Data) -> {next_state,hiber_wakeup, Data, hibernate}. @@ -1078,7 +1078,8 @@ hiber_wakeup(snooze_async,Data) -> {next_state,hiber_wakeup,Data,hibernate}. -handle_info(hibernate_now, _SName, _State) -> % Arrive here from by direct ! from testcase +handle_info(hibernate_now, _SName, _State) -> + %% Arrive here from by direct ! from testcase {next_state, hiber_idle, [], hibernate}; handle_info(hibernate_later, _SName, _State) -> {next_state, hiber_idle, hibernate_me, 1000}; |