aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/erl_tidy.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-02-15 13:23:27 +0100
committerHans Bolinder <[email protected]>2013-02-15 13:23:27 +0100
commitf7095c4c3ac256f2d587475d11a1cd09f9454a76 (patch)
treebcd95ee1d2e39fad2db67b1912e23c22fa3aade5 /lib/syntax_tools/src/erl_tidy.erl
parent0d77170a3f0e537d103d83f28ae09977d6e95fb8 (diff)
parent22e3a1c772041cbb3a137a87436bf8b304c8499f (diff)
downloadotp-f7095c4c3ac256f2d587475d11a1cd09f9454a76.tar.gz
otp-f7095c4c3ac256f2d587475d11a1cd09f9454a76.tar.bz2
otp-f7095c4c3ac256f2d587475d11a1cd09f9454a76.zip
Merge branch 'hb/stdlib/unicode_corrections/OTP-10820'
* hb/stdlib/unicode_corrections/OTP-10820: [stdlib] Add documentation of ~tp [stdlib] Correct handling of Unicode filenames
Diffstat (limited to 'lib/syntax_tools/src/erl_tidy.erl')
-rw-r--r--lib/syntax_tools/src/erl_tidy.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/erl_tidy.erl b/lib/syntax_tools/src/erl_tidy.erl
index e9a88caff3..35fd0c2e02 100644
--- a/lib/syntax_tools/src/erl_tidy.erl
+++ b/lib/syntax_tools/src/erl_tidy.erl
@@ -435,7 +435,6 @@ file_type(Name, Links) ->
end.
open_output_file(FName, Options) ->
-io:format("Options ~p~n", [Options]),
case catch file:open(FName, [write]++Options) of
{ok, FD} ->
FD;
@@ -1805,7 +1804,7 @@ get_free_vars_1([{free, B} | _Bs]) -> B;
get_free_vars_1([_ | Bs]) -> get_free_vars_1(Bs);
get_free_vars_1([]) -> [].
-filename([C | T]) when is_integer(C), C > 0, C =< 255 ->
+filename([C | T]) when is_integer(C), C > 0 ->
[C | filename(T)];
filename([H|T]) ->
filename(H) ++ filename(T);