1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
(library
(name ocamlformat_parser_extended)
(public_name ocamlformat-lib.parser_extended)
(flags
(:standard
-w
-9
-open
Ocamlformat_parser_shims
-open
Ocamlformat_ocaml_common))
(libraries
compiler-libs.common
menhirLib
ocamlformat_parser_shims
ocamlformat_ocaml_common))
(ocamllex lexer)
(menhir
(infer false)
(flags
:standard
--lalr
--strict
--unused-token
COMMENT
--unused-token
DOCSTRING
--unused-token
EOL
--unused-token
GREATERRBRACKET
--fixed-exception
--table
--strategy
simplified)
(modules parser))
(rule
(targets asttypes.ml)
(mode fallback)
(action
(copy# asttypes.mli %{targets})))
(rule
(targets parsetree.ml)
(mode fallback)
(action
(copy# parsetree.mli %{targets})))
|