From 4a1099012a04e35b54a5e067294fecddaa3d4cf7 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 6 Dec 2002 16:39:02 +0000 Subject: - perl_checker: print on stdout, not stderr - perl_checker: add option --restrict-to-files (mainly for perl_checko the Clean Keeper) --- perl_checker.src/common.ml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl_checker.src/common.ml') diff --git a/perl_checker.src/common.ml b/perl_checker.src/common.ml index 19aaa5f..a938ffb 100644 --- a/perl_checker.src/common.ml +++ b/perl_checker.src/common.ml @@ -780,6 +780,9 @@ let to_CamelCase s_ = let (string_of_ref : 'a ref -> string) = fun r -> Printf.sprintf "0x%x" (Obj.magic r : int) +let print_endline_flush_quiet = ref false +let print_endline_flush s = if not !print_endline_flush_quiet then (print_endline s ; flush stdout) + let is_int n = n = floor n (* total order *) -- cgit v1.2.1