diff options
author | Mark Bucciarelli <[email protected]> | 2016-05-26 21:58:18 -0400 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-07-06 10:13:36 +0200 |
commit | 0969ecad9e2978bacb7b27f663cd16aa5ea6c460 (patch) | |
tree | 7f6996011c04e6687602a3b7adb1203e6673e630 /lib/syntax_tools/src | |
parent | 3b409021a70427bb2fe3834707edf822b6afce2d (diff) | |
download | otp-0969ecad9e2978bacb7b27f663cd16aa5ea6c460.tar.gz otp-0969ecad9e2978bacb7b27f663cd16aa5ea6c460.tar.bz2 otp-0969ecad9e2978bacb7b27f663cd16aa5ea6c460.zip |
syntax_tools: Make erl_tidy work on input file with tilde
See also http://bugs.erlang.org/browse/ERL-151.
Diffstat (limited to 'lib/syntax_tools/src')
-rw-r--r-- | lib/syntax_tools/src/erl_tidy.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/erl_tidy.erl b/lib/syntax_tools/src/erl_tidy.erl index f2de12b410..3a37ca43bd 100644 --- a/lib/syntax_tools/src/erl_tidy.erl +++ b/lib/syntax_tools/src/erl_tidy.erl @@ -414,7 +414,7 @@ write_module(Tree, Name, Opts) -> print_module(Tree, Opts) -> Printer = proplists:get_value(printer, Opts), - io:format(Printer(Tree, Opts)). + io:put_chars(Printer(Tree, Opts)). output(FD, Printer, Tree, Opts) -> io:put_chars(FD, Printer(Tree, Opts)), |