Commits

Markus Mottl  committed 4d40a2e

Fixed typehash preprocessor to work with new type_conv API

  • Participants
  • Parent commits 3060e7b

Comments (0)

Files changed (1)

File base/typehash/syntax/pa_typehash.ml

 end
 
 let () = Pa_type_conv.add_generator_with_arg "typehash" Config.gram_entry
-  (fun ctyp conf ->
+  (fun conf ctyp ->
    let config = match conf with None -> Config.empty | Some c -> c in
    Gen_struct.generate ~config ctyp)