aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-06 12:24:15 +0100
committerBjörn Gustavsson <[email protected]>2013-01-09 13:55:36 +0100
commitbeb660aa59a8d9cd7f65b8b91dc5dd9bc74015e0 (patch)
treee926a5816ed235709bfb42d518026244c4047ca8 /lib/edoc/src/edoc.erl
parente174aab954388e0f6986239dfdcc7af37c1d71e5 (diff)
downloadotp-beb660aa59a8d9cd7f65b8b91dc5dd9bc74015e0.tar.gz
otp-beb660aa59a8d9cd7f65b8b91dc5dd9bc74015e0.tar.bz2
otp-beb660aa59a8d9cd7f65b8b91dc5dd9bc74015e0.zip
edoc: Remove support for packages
Diffstat (limited to 'lib/edoc/src/edoc.erl')
-rw-r--r--lib/edoc/src/edoc.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/edoc/src/edoc.erl b/lib/edoc/src/edoc.erl
index 5a599e6e97..599036f380 100644
--- a/lib/edoc/src/edoc.erl
+++ b/lib/edoc/src/edoc.erl
@@ -456,14 +456,14 @@ expand_sources(Ss, Opts) ->
end,
expand_sources(Ss1, Suffix, sets:new(), [], []).
-expand_sources([{P, F, D} | Fs], Suffix, S, As, Ms) ->
- M = list_to_atom(packages:concat(P, filename:rootname(F, Suffix))),
+expand_sources([{'', F, D} | Fs], Suffix, S, As, Ms) ->
+ M = list_to_atom(filename:rootname(F, Suffix)),
case sets:is_element(M, S) of
true ->
expand_sources(Fs, Suffix, S, As, Ms);
false ->
S1 = sets:add_element(M, S),
- expand_sources(Fs, Suffix, S1, [{M, P, F, D} | As],
+ expand_sources(Fs, Suffix, S1, [{M, '', F, D} | As],
[M | Ms])
end;
expand_sources([], _Suffix, _S, As, Ms) ->