PR#6399: [%ocaml.error] and friends

http://caml.inria.fr/mantis/view.php?id=6399