aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-08-22 10:32:40 +0200
committerHans Bolinder <[email protected]>2012-08-22 10:32:40 +0200
commit6ab59ee359373043f0bb5950b63d7590cd54a3f9 (patch)
treefa4c0110f8578c06be25c3c553dafa0f4cf1aafd /lib/tools/src
parent064b42237d891d5fdcb6c1a351980b8291437618 (diff)
downloadotp-6ab59ee359373043f0bb5950b63d7590cd54a3f9.tar.gz
otp-6ab59ee359373043f0bb5950b63d7590cd54a3f9.tar.bz2
otp-6ab59ee359373043f0bb5950b63d7590cd54a3f9.zip
Allow non-ASCII characters in Xref filanmes
Xref now accepts filenames with character codes greater than 126. (Thanks to Emile Joubert for reporting the issue.)
Diffstat (limited to 'lib/tools/src')
-rw-r--r--lib/tools/src/xref_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/src/xref_utils.erl b/lib/tools/src/xref_utils.erl
index 9d4a175d88..680563e9df 100644
--- a/lib/tools/src/xref_utils.erl
+++ b/lib/tools/src/xref_utils.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2000-2010. All Rights Reserved.
+%% Copyright Ericsson AB 2000-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -141,7 +141,7 @@ is_string([], _) ->
is_string(Term, C) ->
is_string1(Term, C).
-is_string1([H | T], C) when H > C, H < 127 ->
+is_string1([H | T], C) when H > C ->
is_string1(T, C);
is_string1([], _) ->
true;