aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/epp_dodger.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-07-06 12:21:23 +0200
committerSiri Hansen <[email protected]>2017-09-05 11:02:26 +0200
commit080cda86ca973abe172179c006999802a11614e9 (patch)
tree8020a79009069b9594e8ec9fe72e2624eeb60a90 /lib/syntax_tools/src/epp_dodger.erl
parent1e0a02473337ccfeebeab6b0691072197f571ed6 (diff)
downloadotp-080cda86ca973abe172179c006999802a11614e9.tar.gz
otp-080cda86ca973abe172179c006999802a11614e9.tar.bz2
otp-080cda86ca973abe172179c006999802a11614e9.zip
syntax_tools: Improve handling of Unicode
Diffstat (limited to 'lib/syntax_tools/src/epp_dodger.erl')
-rw-r--r--lib/syntax_tools/src/epp_dodger.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/epp_dodger.erl b/lib/syntax_tools/src/epp_dodger.erl
index cf1ba0abfa..0a12e8fd8b 100644
--- a/lib/syntax_tools/src/epp_dodger.erl
+++ b/lib/syntax_tools/src/epp_dodger.erl
@@ -866,10 +866,10 @@ tokens_to_string([]) ->
format_error(macro_args) ->
errormsg("macro call missing end parenthesis");
format_error({unknown, Reason}) ->
- errormsg(io_lib:format("unknown error: ~P", [Reason, 15])).
+ errormsg(io_lib:format("unknown error: ~tP", [Reason, 15])).
errormsg(String) ->
- io_lib:format("~s: ~s", [?MODULE, String]).
+ io_lib:format("~s: ~ts", [?MODULE, String]).
%% =====================================================================