Send debug message to stderr.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 23 Dec 2019 20:43:08 +0000 (20:43 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 23 Dec 2019 20:43:08 +0000 (20:43 +0000)
src/main.ml

index 73a53da..06af8e5 100644 (file)
@@ -92,7 +92,7 @@ let main () =
     if targets <> [] then targets
     else [Ast.ECall (Ast.noloc, "all", [])] in
 
-  Ast.print_env stdout env;
+  Ast.print_env stderr env;
 
   (* Evaluate the target expressions in turn. *)
   Eval.evaluate_targets env targets