we need indices in addition to positions
ocamldep output is sometimes multiline