Correcting parser behavior for 'test_deep_mapping_with_dash'

This correct parsing behavior for test_deep_mapping_with_dash though locations of paths are still imprecise (reports on wrong line). In addition, this change breaks the rather pathological case

- A

-

    - B

-

which seems like a good compromise.