aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-02-23 15:15:05 +0100
committerZandra Hird <[email protected]>2015-02-23 15:15:25 +0100
commitbcf520a6aeb5ff4423ade377e38269383b52e8f7 (patch)
tree094b878b92f64c0ac9e6f5c20e2dde6234fc21ed /lib/edoc/src
parentd1aeabb317811c203c08194c3dab464a48ec1dd3 (diff)
parentcf5a72827821a448d256cd3edb5a31ac46b75839 (diff)
downloadotp-bcf520a6aeb5ff4423ade377e38269383b52e8f7.tar.gz
otp-bcf520a6aeb5ff4423ade377e38269383b52e8f7.tar.bz2
otp-bcf520a6aeb5ff4423ade377e38269383b52e8f7.zip
Merge branch 'richcarl/syntax_tools-remove-mnemosyne'
* richcarl/syntax_tools-remove-mnemosyne: Remove Mnemosyne rules support from EDoc Remove support for Mnemosyne rules Remove support for mnemosyne-style record field access OTP-12511
Diffstat (limited to 'lib/edoc/src')
-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 a2a1a6b718..6d34de3a85 100644
--- a/lib/edoc/src/edoc_extract.erl
+++ b/lib/edoc/src/edoc_extract.erl
@@ -351,8 +351,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 ->
@@ -390,15 +388,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,