(file) Return to driver.ml CVS log (file) (dir) Up to [venge] / src / mkc

Diff for /src/mkc/driver.ml between version 1.3 and 1.4

version 1.3, 2002/04/26 23:38:20 version 1.4, 2002/04/28 05:07:52
Line 26 
Line 26 
     with     with
         _ -> tidyup ()         _ -> tidyup ()
  
   let output_file = ref "a.out";;
   
   let args = [
   
     ("-o",
      Arg.String (fun x -> output_file := x),
      "set output file");
   
     ("-version",
      Arg.Unit (fun _ -> Printf.printf "mkc version $Id$\n"),
      "display version")
   ]
   ;;
   
 let _ = let _ =
   compile Sys.argv.(1) "a.out" "."    Arg.parse args (fun x -> compile x !output_file ".")
         (Printf.sprintf "usage: %s [options] <input.mk>\n%s\n"
            Sys.argv.(0) "where options is one of:")
   
   
  
  


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

graydon hoare
Powered by
ViewCVS 0.9.2