Nicolas Cannasse 17 年之前
父节点
当前提交
759ff69746
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      main.ml

+ 2 - 1
main.ml

@@ -486,7 +486,8 @@ with
 		if packs = [] && classes = [] then report ("No classes found in " ^ String.concat "." p) Ast.null_pos;
 		if packs = [] && classes = [] then report ("No classes found in " ^ String.concat "." p) Ast.null_pos;
 		report_list (List.map (fun f -> f,"","") (packs @ classes));
 		report_list (List.map (fun f -> f,"","") (packs @ classes));
 		exit 0;
 		exit 0;
-	| e -> report (Printexc.to_string e) Ast.null_pos
+	| e when (try Sys.getenv "OCAMLRUNPARAM" <> "b" with _ -> true) ->
+		report (Printexc.to_string e) Ast.null_pos
 
 
 ;;
 ;;
 let all = Plugin.timer "other" in
 let all = Plugin.timer "other" in