Attach parser location information to AST nodes.
[goals.git] / src / main.ml
index bb25402..b95d1f5 100644 (file)
@@ -90,11 +90,11 @@ let main () =
   (* If no target was set on the command line, use "all ()". *)
   let targets =
     if targets <> [] then targets
-    else [Ast.ECall ("all", [])] in
+    else [Ast.ECall (Ast.noloc, "all", [])] in
 
-  (*Ast.print_env stdout env;*)
+  Ast.print_env stdout env;
 
   (* Evaluate the target expressions in turn. *)
-  Eval.evaluate env targets
+  Eval.evaluate_targets env targets
 
 let () = main ()