|
@@ -175,7 +175,7 @@ let parse_module ctx m p =
|
|
if p == null_pos then
|
|
if p == null_pos then
|
|
display_error ctx ("Invalid commandline class : " ^ s_type_path m ^ " should be " ^ s_type_path (pack,snd m)) p
|
|
display_error ctx ("Invalid commandline class : " ^ s_type_path m ^ " should be " ^ s_type_path (pack,snd m)) p
|
|
else
|
|
else
|
|
- display_error ctx ("Invalid package : " ^ spack (fst m) ^ " should be " ^ spack pack) p
|
|
|
|
|
|
+ display_error ctx ("Invalid package : " ^ spack (fst m) ^ " should be " ^ spack pack) {p with pmax = p.pmin}
|
|
end;
|
|
end;
|
|
file, if !remap <> fst m then
|
|
file, if !remap <> fst m then
|
|
(* build typedefs to redirect to real package *)
|
|
(* build typedefs to redirect to real package *)
|