diff options
author | Micael Karlberg <[email protected]> | 2011-04-12 13:31:22 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-04-12 13:31:22 +0200 |
commit | 7263707193d974050f485bd034e91ce4c3c7cb8f (patch) | |
tree | 42ae12b4c3234d1428fc09a4195546bf6237fa3c /lib/syntax_tools | |
parent | 057911fd21db849ff4f6a9fa28674002945f725f (diff) | |
parent | 47fc3df88eada4b07d8805dbc7fd418f6fac1c11 (diff) | |
download | otp-7263707193d974050f485bd034e91ce4c3c7cb8f.tar.gz otp-7263707193d974050f485bd034e91ce4c3c7cb8f.tar.bz2 otp-7263707193d974050f485bd034e91ce4c3c7cb8f.zip |
Merge branch 'dev' into bmk/snmp/manager/request_override_options
Diffstat (limited to 'lib/syntax_tools')
-rw-r--r-- | lib/syntax_tools/src/erl_recomment.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/erl_recomment.erl b/lib/syntax_tools/src/erl_recomment.erl index 919e9cfc5d..fc7c515700 100644 --- a/lib/syntax_tools/src/erl_recomment.erl +++ b/lib/syntax_tools/src/erl_recomment.erl @@ -163,7 +163,7 @@ recomment_forms_2(C, [N | Ns] = Nodes, Insert) -> Trailing = case Ns of [] -> true; - [Next | _] -> L < node_min(Next) - 2 + [Next | _] -> L + Delta < node_min(Next) - 2 end, if L > Max + 1 ; L =:= Max + 1, not Trailing -> [N | recomment_forms_2(C, Ns, Insert)]; |