Adaptation de #load au nouveau format de .cma

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2000-03-27 11:42:54 +00:00
parent f5442aa165
commit a734dd4b75
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ let dir_load ppf name =
let toc_pos = input_binary_int ic in (* Go to table of contents *)
seek_in ic toc_pos;
List.iter (load_compunit ic filename ppf)
(input_value ic : compilation_unit list)
(input_value ic : library).lib_units
end else fprintf ppf "File %s is not a bytecode object file.@." name
with Load_failed -> ()
end;