aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_cl_parse.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-07-03 09:06:56 +0200
committerSiri Hansen <[email protected]>2017-09-05 11:02:26 +0200
commit1e0a02473337ccfeebeab6b0691072197f571ed6 (patch)
treeaa374d5bf9b713b4dccdaf36779a2cfe04bc3d69 /lib/dialyzer/src/dialyzer_cl_parse.erl
parentd6bcae3e68546428cedf244c202eb2802d4fe5ee (diff)
downloadotp-1e0a02473337ccfeebeab6b0691072197f571ed6.tar.gz
otp-1e0a02473337ccfeebeab6b0691072197f571ed6.tar.bz2
otp-1e0a02473337ccfeebeab6b0691072197f571ed6.zip
dialyzer: Improve handling of Unicode
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl_parse.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_cl_parse.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl_parse.erl b/lib/dialyzer/src/dialyzer_cl_parse.erl
index a456d38e64..80c10183cf 100644
--- a/lib/dialyzer/src/dialyzer_cl_parse.erl
+++ b/lib/dialyzer/src/dialyzer_cl_parse.erl
@@ -82,7 +82,7 @@ cl(["--get_warnings"|T]) ->
cl(["-D"|_]) ->
cl_error("No defines specified after -D");
cl(["-D"++Define|T]) ->
- Def = re:split(Define, "=", [{return, list}]),
+ Def = re:split(Define, "=", [{return, list}, unicode]),
append_defines(Def),
cl(T);
cl(["-h"|_]) ->