aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-04-12 13:31:22 +0200
committerMicael Karlberg <[email protected]>2011-04-12 13:31:22 +0200
commit7263707193d974050f485bd034e91ce4c3c7cb8f (patch)
tree42ae12b4c3234d1428fc09a4195546bf6237fa3c /lib/syntax_tools
parent057911fd21db849ff4f6a9fa28674002945f725f (diff)
parent47fc3df88eada4b07d8805dbc7fd418f6fac1c11 (diff)
downloadotp-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.erl2
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)];