aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/erl_syntax_lib.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <bjorn@erlang.org>2012-12-06 08:24:52 +0100
committerBjörn Gustavsson <bjorn@erlang.org>2013-01-09 13:52:59 +0100
commite174aab954388e0f6986239dfdcc7af37c1d71e5 (patch)
tree77ed181208962a5c8a03d5bb173245419ef7f0a3 /lib/syntax_tools/src/erl_syntax_lib.erl
parent754dc29fa758c7f3b40cbdad756f45743f150f20 (diff)
downloadotp-e174aab954388e0f6986239dfdcc7af37c1d71e5.tar.gz
otp-e174aab954388e0f6986239dfdcc7af37c1d71e5.tar.bz2
otp-e174aab954388e0f6986239dfdcc7af37c1d71e5.zip
syntax_tools: Remove support for packages
Diffstat (limited to 'lib/syntax_tools/src/erl_syntax_lib.erl')
-rw-r--r--lib/syntax_tools/src/erl_syntax_lib.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/syntax_tools/src/erl_syntax_lib.erl b/lib/syntax_tools/src/erl_syntax_lib.erl
index 36cd35f15d..2c94ac776d 100644
--- a/lib/syntax_tools/src/erl_syntax_lib.erl
+++ b/lib/syntax_tools/src/erl_syntax_lib.erl
@@ -2223,11 +2223,6 @@ module_name_to_atom(M) ->
case erl_syntax:type(M) of
atom ->
erl_syntax:atom_value(M);
- qualified_name ->
- list_to_atom(packages:concat(
- [erl_syntax:atom_value(A)
- || A <- erl_syntax:qualified_name_segments(M)])
- );
_ ->
throw(syntax_error)
end.