Skip to content

Commit

Permalink
Merge pull request #4508 from rjbou/fpars
Browse files Browse the repository at this point in the history
Fix `features' field parser
  • Loading branch information
rjbou authored Jan 22, 2021
2 parents beb696e + fb0595b commit 4d9db69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ New option/command/subcommand are prefixed with ◈.
*

## Opamfile
*
* Fix `features` parser [#4507 @rjbou]

## External dependencies

Expand Down
2 changes: 1 addition & 1 deletion src/format/opamFile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2718,7 +2718,7 @@ module OPAMSyntax = struct
"build-env", no_cleanup Pp.ppacc with_build_env build_env
(Pp.V.map_list ~depth:2 Pp.V.env_binding);
"features", no_cleanup Pp.ppacc with_features features
(Pp.V.map_list ~depth:2 @@
(Pp.V.map_list ~depth:1 @@
Pp.V.map_options_2
(Pp.V.ident -| Pp.of_module "variable" (module OpamVariable))
(Pp.V.package_formula_items `Conj Pp.V.(filtered_constraints ext_version))
Expand Down

0 comments on commit 4d9db69

Please sign in to comment.