Skip to content

Commit

Permalink
Merge branch 'hb/syntax_tools/bug_erl_recomment/OTP-9180' into dev
Browse files Browse the repository at this point in the history
* hb/syntax_tools/bug_erl_recomment/OTP-9180:
  Fix a bug in erl_recomment
  • Loading branch information
uabboli committed Apr 1, 2011
2 parents 07307ef + f135c4e commit efd0326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/syntax_tools/src/erl_recomment.erl
Expand Up @@ -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)];
Expand Down

0 comments on commit efd0326

Please sign in to comment.