diff options
author | Micael Karlberg <[email protected]> | 2011-04-08 17:51:55 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-04-08 17:51:55 +0200 |
commit | 24a9408229d14b3b0c41265f0c9f4c6d164e92ed (patch) | |
tree | 89bd26baac9532bcf9923da39018a36a4d4bca15 /lib/syntax_tools | |
parent | 332b91c46d67dc31ca6080b2ba5c03636f3d584f (diff) | |
parent | 5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a (diff) | |
download | otp-24a9408229d14b3b0c41265f0c9f4c6d164e92ed.tar.gz otp-24a9408229d14b3b0c41265f0c9f4c6d164e92ed.tar.bz2 otp-24a9408229d14b3b0c41265f0c9f4c6d164e92ed.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)]; |