~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/dialyzer/src/dialyzer_dep.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-08-05 20:54:29 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090805205429-pm4pnwew8axraosl
Tags: 1:13.b.1-dfsg-5
* Fixed parentheses in Emacs mode (closes: #536891).
* Removed unnecessary conflicts with erlang-manpages package.
* Added workaround for #475459: disabled threads on sparc architecture.
  This breaks wxErlang, so it's only a temporary solution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
532
532
                         [[{Caller, Callee} || Callee <- Set]|Acc]
533
533
                     end, [], Deps),
534
534
  Edges1 = lists:flatten(Edges0),
535
 
  Edges = [{X,Y} || {X,Y} <- Edges1, X =/= top],
 
535
  Edges = [Edge || {X,_Y} = Edge <- Edges1, X =/= top],
536
536
  Fun = fun(SubTree, Acc) ->
537
537
            case cerl:type(SubTree) of
538
538
              'fun' ->
539
 
                case lists:keysearch(id, 1, cerl:get_ann(SubTree)) of
 
539
                case lists:keyfind(id, 1, cerl:get_ann(SubTree)) of
540
540
                  false -> Acc;
541
 
                  {value, {id, ID}} -> 
 
541
                  {id, ID} -> 
542
542
                    dict:store(cerl_trees:get_label(SubTree), ID, Acc)
543
543
                end;
544
544
              module ->