Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

backporting fixed for new otp format

  • Loading branch information...
commit 11d8397d0cd444e0cb438b4c50796cde4922f542 1 parent 806a618
authored February 14, 2011
BIN  erldocs
Binary file not shown
6  src/erldocs_core.erl
@@ -268,7 +268,9 @@ fun_stuff(App, Mod, {func, [], Child}) ->
268 268
            (_Else, Acc) -> Acc
269 269
         end,
270 270
 
271  
-    lists:foldl(F, [], Child).
  271
+    lists:foldl(F, [], Child);
  272
+fun_stuff(_App, _Mod, _Funs) ->
  273
+    [].
272 274
 
273 275
 make_name(Name) ->
274 276
     Tmp = lists:flatten(Name),
@@ -359,6 +361,8 @@ tr_erlref({note, [], Child}, _Acc) ->
359 361
     {'div', [{class, "note"}], [{h2, [], ["Note!"]} | Child]};
360 362
 tr_erlref({warning, [], Child}, _Acc) ->
361 363
     {'div', [{class, "warning"}], [{h2, [], ["Warning!"]} | Child]};
  364
+tr_erlref({name, [], [{ret,[],[Ret]}, {nametext,[],[Desc]}]}, _Acc) ->
  365
+    {pre, [], [Ret ++ " " ++ Desc]};
362 366
 tr_erlref({name, [], Child}, [{ids, Ids}, List, {functions, Funs}]) ->
363 367
     case make_name(Child) of
364 368
         ignore -> ignore;

0 notes on commit 11d8397

Please sign in to comment.
Something went wrong with that request. Please try again.