aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRadek Szymczyszyn <[email protected]>2018-04-26 19:10:40 +0200
committerRadek Szymczyszyn <[email protected]>2018-05-04 12:30:48 +0200
commit1a6adf47cf8895a508cd76660ed69f1f3dfb0bcd (patch)
treecc9bcb807ae74506f232d58af82ac5db685a184a /lib
parent8313eae72dd170d2f4502d225b74dbf543198313 (diff)
downloadotp-1a6adf47cf8895a508cd76660ed69f1f3dfb0bcd.tar.gz
otp-1a6adf47cf8895a508cd76660ed69f1f3dfb0bcd.tar.bz2
otp-1a6adf47cf8895a508cd76660ed69f1f3dfb0bcd.zip
Fix syntactic issues in EDoc comments across some libs
See https://github.com/erszcz/docsh/issues/23 for an explanation about how the files were found.
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/src/cerl_trees.erl7
-rw-r--r--lib/edoc/src/edoc_doclet.erl2
-rw-r--r--lib/kernel/src/hipe_unified_loader.erl2
3 files changed, 5 insertions, 6 deletions
diff --git a/lib/compiler/src/cerl_trees.erl b/lib/compiler/src/cerl_trees.erl
index c7a129b42c..533c984221 100644
--- a/lib/compiler/src/cerl_trees.erl
+++ b/lib/compiler/src/cerl_trees.erl
@@ -351,10 +351,9 @@ mapfold(F, S0, T) ->
mapfold(fun(T0, A) -> {T0, A} end, F, S0, T).
-%% @spec mapfold(Pre, Post, Initial::term(), Tree::cerl()) ->
-%% {cerl(), term()}
-%%
-%% Pre = Post = (cerl(), term()) -> {cerl(), term()}
+%% @spec mapfold(Pre, Post, Initial::term(), Tree::cerl()) -> {cerl(), term()}
+%% Pre = (cerl(), term()) -> {cerl(), term()}
+%% Post = (cerl(), term()) -> {cerl(), term()}
%%
%% @doc Does a combined map/fold operation on the nodes of the
%% tree. It begins by calling <code>Pre</code> on the tree, using the
diff --git a/lib/edoc/src/edoc_doclet.erl b/lib/edoc/src/edoc_doclet.erl
index f55cffe158..6cb3095507 100644
--- a/lib/edoc/src/edoc_doclet.erl
+++ b/lib/edoc/src/edoc_doclet.erl
@@ -40,7 +40,7 @@
-import(edoc_report, [report/2, warning/2]).
-%% @headerfile "edoc_doclet.hrl"
+%% @headerfile "../include/edoc_doclet.hrl"
-include("../include/edoc_doclet.hrl").
-define(EDOC_APP, edoc).
diff --git a/lib/kernel/src/hipe_unified_loader.erl b/lib/kernel/src/hipe_unified_loader.erl
index fd06f0f7d8..5704cc79c2 100644
--- a/lib/kernel/src/hipe_unified_loader.erl
+++ b/lib/kernel/src/hipe_unified_loader.erl
@@ -453,7 +453,7 @@ make_beam_stub(Mod, LoaderState, MD5, Beam, FunDefs, ClosuresToPatch) ->
%%========================================================================
%% Patching
%% @spec patch(refs(), BaseAddress::integer(), ConstAndZone::term(),
-%% FunDefs::term(), TrampolineMap::term()) -> 'ok'.
+%% FunDefs::term(), TrampolineMap::term()) -> 'ok'
%% @type refs()=[{RefType::integer(), Reflist::reflist()} | refs()]
%%
%% @type reflist()= [{Data::term(), Offsets::offests()}|reflist()]