git.annexia.org
/
goals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement -d (debug) option.
[goals.git]
/
src
/
main.ml
diff --git
a/src/main.ml
b/src/main.ml
index
127c24c
..
6546fd5
100644
(file)
--- a/
src/main.ml
+++ b/
src/main.ml
@@
-49,7
+49,8
@@
let main () =
if targets <> [] then targets
else [Ast.ECallGoal (Ast.noloc, "all", [])] in
- Ast.print_env stderr env;
+ if Cmdline.debug_flag then
+ Ast.print_env stderr env;
(* Evaluate the target expressions in turn. *)
Eval.evaluate_targets env targets