diff options
author | barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-05-07 16:13:37 +0000 |
---|---|---|
committer | barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-05-07 16:13:37 +0000 |
commit | fa5fbb3625452dd560ffb5bfe5493d26b730b402 (patch) | |
tree | 357d6fe295e25a2c8b27d2d6911506ba3a6d590c /checker/checker.ml | |
parent | 335c779987e4b845e6700d5df81fe248e6e940f7 (diff) |
fixed bug with aliases
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10896 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker/checker.ml')
-rw-r--r-- | checker/checker.ml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/checker/checker.ml b/checker/checker.ml index 832fe0663..0ae94444d 100644 --- a/checker/checker.ml +++ b/checker/checker.ml @@ -152,6 +152,10 @@ let admit_list = ref ([] : section_path list) let add_admit s = admit_list := path_of_string s :: !admit_list +let norec_list = ref ([] : section_path list) +let add_norec s = + norec_list := path_of_string s :: !norec_list + let compile_list = ref ([] : section_path list) let add_compile s = compile_list := path_of_string s :: !compile_list @@ -162,6 +166,7 @@ let add_compile s = let compile_files () = Check.recheck_library + ~norec:(List.rev !norec_list) ~admit:(List.rev !admit_list) ~check:(List.rev !compile_list) @@ -182,6 +187,7 @@ let print_usage_channel co command = -R dir coqdir recursively map physical dir to logical coqdir -admit module load module and dependencies without checking + -norec module check module but admit dependencies without checking -where print Coq's standard library location and exit -v print Coq version and exit @@ -325,6 +331,9 @@ let parse_args() = | "-admit" :: s :: rem -> add_admit s; parse rem | "-admit" :: [] -> usage () + | "-norec" :: s :: rem -> add_norec s; parse rem + | "-norec" :: [] -> usage () + | "-silent" :: rem -> Flags.make_silent true; parse rem |