Restore ability to compile with OCaml 3.11.2
This commit is contained in:
parent
7d11cbcce7
commit
7bdec3fd59
4
cpdf.ml
4
cpdf.ml
|
@ -841,7 +841,7 @@ let list_attached_files pdf =
|
||||||
| Some stream ->
|
| Some stream ->
|
||||||
Some
|
Some
|
||||||
{name = s;
|
{name = s;
|
||||||
pagenumber;
|
pagenumber = pagenumber;
|
||||||
data =
|
data =
|
||||||
(fun () ->
|
(fun () ->
|
||||||
try
|
try
|
||||||
|
@ -857,7 +857,7 @@ let list_attached_files pdf =
|
||||||
| _ ->
|
| _ ->
|
||||||
Some
|
Some
|
||||||
{name = s;
|
{name = s;
|
||||||
pagenumber;
|
pagenumber = pagenumber;
|
||||||
data = (fun () -> raise (Pdf.PDFError "no attachment data"))}
|
data = (fun () -> raise (Pdf.PDFError "no attachment data"))}
|
||||||
end
|
end
|
||||||
| _ -> None
|
| _ -> None
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(* cpdf command line tools *)
|
(* cpdf command line tools *)
|
||||||
let demo = true
|
let demo = false
|
||||||
let noncomp = false
|
let noncomp = false
|
||||||
let major_version = 2
|
let major_version = 2
|
||||||
let minor_version = 2
|
let minor_version = 2
|
||||||
|
|
Loading…
Reference in New Issue