[ocamlbuild] add flag declaration for menhir --explain (by Benoit Montagu <benoit.montagu@inria.fr>)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Nicolas Pouillard 2007-11-22 18:47:07 +00:00
parent af6ff1b537
commit a353e7b885
1 changed files with 3 additions and 0 deletions

View File

@ -335,6 +335,9 @@ end;;
flag ["ocaml"; "ocamlyacc"] (atomize !Options.ocaml_yaccflags);;
flag ["ocaml"; "menhir"] (atomize !Options.ocaml_yaccflags);;
(* Tell menhir to explain conflicts *)
flag [ "ocaml" ; "menhir" ; "explain" ] (S[A "--explain"]);;
flag ["ocaml"; "ocamllex"] (atomize !Options.ocaml_lexflags);;
flag ["ocaml"; "byte"; "link"] begin