|
@@ -559,6 +559,8 @@ try
|
|
|
| Php -> add_std "php"; "php"
|
|
|
| Cpp -> add_std "cpp"; "cpp"
|
|
|
) in
|
|
|
+ (* if we are at the last compilation step, allow all packages accesses - in case of macros or opening another project file *)
|
|
|
+ if com.display && not has_next then com.package_rules <- PMap.foldi (fun p r acc -> match r with Forbidden -> acc | _ -> PMap.add p r acc) com.package_rules PMap.empty;
|
|
|
|
|
|
(* check file extension. In case of wrong commandline, we don't want
|
|
|
to accidentaly delete a source file. *)
|