diff options
author | Hans Bolinder <[email protected]> | 2017-07-06 12:21:23 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-05 11:02:26 +0200 |
commit | 080cda86ca973abe172179c006999802a11614e9 (patch) | |
tree | 8020a79009069b9594e8ec9fe72e2624eeb60a90 /lib/syntax_tools/src/merl.erl | |
parent | 1e0a02473337ccfeebeab6b0691072197f571ed6 (diff) | |
download | otp-080cda86ca973abe172179c006999802a11614e9.tar.gz otp-080cda86ca973abe172179c006999802a11614e9.tar.bz2 otp-080cda86ca973abe172179c006999802a11614e9.zip |
syntax_tools: Improve handling of Unicode
Diffstat (limited to 'lib/syntax_tools/src/merl.erl')
-rw-r--r-- | lib/syntax_tools/src/merl.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/syntax_tools/src/merl.erl b/lib/syntax_tools/src/merl.erl index d6cf208998..b503944442 100644 --- a/lib/syntax_tools/src/merl.erl +++ b/lib/syntax_tools/src/merl.erl @@ -565,13 +565,13 @@ parse_5(Ts, Es) -> -dialyzer({nowarn_function, parse_error/1}). % no local return parse_error({L, M, R}) when is_atom(M), is_integer(L) -> - fail("~w: ~s", [L, M:format_error(R)]); + fail("~w: ~ts", [L, M:format_error(R)]); parse_error({{L,C}, M, R}) when is_atom(M), is_integer(L), is_integer(C) -> - fail("~w:~w: ~s", [L,C,M:format_error(R)]); + fail("~w:~w: ~ts", [L,C,M:format_error(R)]); parse_error({_, M, R}) when is_atom(M) -> fail(M:format_error(R)); parse_error(R) -> - fail("unknown parse error: ~p", [R]). + fail("unknown parse error: ~tp", [R]). %% ------------------------------------------------------------------------ %% Templates, substitution and matching |