Skip to content

Commit

Permalink
Use parsing context when parsing name, version, raw triple of sub sys…
Browse files Browse the repository at this point in the history
…tems

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
  • Loading branch information
rgrinberg committed Jul 2, 2018
1 parent 5afad68 commit 8db47b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installed_dune_file.ml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let parse_sub_systems ~parsing_context sexps =
List.filter_map sexps ~f:(fun sexp ->
let name, ver, data =
Sexp.Of_sexp.(parse (triple string (located Syntax.Version.t) raw)
Univ_map.empty) sexp
parsing_context) sexp
in
match Sub_system_name.get name with
| None ->
Expand Down

0 comments on commit 8db47b2

Please sign in to comment.