aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_extract.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2015-02-11 21:47:37 +0100
committerRichard Carlsson <[email protected]>2015-02-11 21:47:37 +0100
commitcf5a72827821a448d256cd3edb5a31ac46b75839 (patch)
treea0170644f445299bfad168a38d19cf0a37747221 /lib/edoc/src/edoc_extract.erl
parentb61b839fff720fed3afa7c23d7787c60ff95de15 (diff)
downloadotp-cf5a72827821a448d256cd3edb5a31ac46b75839.tar.gz
otp-cf5a72827821a448d256cd3edb5a31ac46b75839.tar.bz2
otp-cf5a72827821a448d256cd3edb5a31ac46b75839.zip
Remove Mnemosyne rules support from EDoc
Diffstat (limited to 'lib/edoc/src/edoc_extract.erl')
-rw-r--r--lib/edoc/src/edoc_extract.erl11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/edoc/src/edoc_extract.erl b/lib/edoc/src/edoc_extract.erl
index 67a95e80aa..b0172e87dd 100644
--- a/lib/edoc/src/edoc_extract.erl
+++ b/lib/edoc/src/edoc_extract.erl
@@ -353,8 +353,6 @@ preprocess_forms_2(F, Fs) ->
[F | preprocess_forms_1(Fs)];
{function, _} ->
[F | preprocess_forms_1(Fs)];
- {rule, _} ->
- [F | preprocess_forms_1(Fs)];
{attribute, {module, _}} ->
[F | preprocess_forms_1(Fs)];
text ->
@@ -392,15 +390,6 @@ collect([F | Fs], Cs, Ss, Ts, As, Header, Mod) ->
export = Export,
data = {comment_text(Cs),Ss,Ts}} | As],
Header, Mod);
- {rule, Name} ->
- L = erl_syntax:get_pos(F),
- Export = ordsets:is_element(Name, Mod#module.exports),
- Args = parameters(erl_syntax:rule_clauses(F)),
- collect(Fs, [], [], [],
- [#entry{name = Name, args = Args, line = L,
- export = Export,
- data = {comment_text(Cs),Ss,Ts}} | As],
- Header, Mod);
{attribute, {module, _}} when Header =:= undefined ->
L = erl_syntax:get_pos(F),
collect(Fs, [], [], [], As,