~ubuntu-branches/debian/sid/ocaml/sid

« back to all changes in this revision

Viewing changes to ocamldoc/odoc_dep.ml

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2009-02-22 08:49:13 UTC
  • mfrom: (12.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090222084913-3i0uw2bhd0lgw0ok
* Uploading to unstable
* debian/control: bump dh-ocaml to (>= 0.4) to avoid buggy ocamlinit.mk

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
(*                                                                     *)
10
10
(***********************************************************************)
11
11
 
12
 
(* $Id: odoc_dep.ml,v 1.6 2004/03/05 14:57:50 guesdon Exp $ *)
 
12
(* $Id: odoc_dep.ml,v 1.7 2007/10/09 10:29:36 weis Exp $ *)
13
13
 
14
14
(** Top modules dependencies. *)
15
15
 
147
147
  in
148
148
  (match t.T.ty_kind with
149
149
    T.Type_abstract -> ()
150
 
  | T.Type_variant (cl, _) ->
 
150
  | T.Type_variant cl ->
151
151
      List.iter
152
152
        (fun c ->
153
153
          List.iter 
158
158
            c.T.vc_args
159
159
        )
160
160
        cl
161
 
  | T.Type_record (rl, _) ->
 
161
  | T.Type_record rl ->
162
162
      List.iter
163
163
        (fun r ->
164
164
          let s = Odoc_print.string_of_type_expr r.T.rf_type in