From 6ab59ee359373043f0bb5950b63d7590cd54a3f9 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Wed, 22 Aug 2012 10:32:40 +0200 Subject: 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.) --- lib/tools/src/xref_utils.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/tools/src') 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; -- cgit v1.2.3