Parse fails when foreign import declarations contain path information (like those generated by c2hs).
An import declaration like:
foreign import ccall safe "path/to/test.h test" test :: IO ()
test.hs:7:26: Malformed entity string
I've marked this as a major issue because it ought to affect, for instance, any library that depends on c2hs (which generates bindings of this kind).
I'm not sure if this is a GHC regression or actually an improvement in fidelity to the FFI spec (although I didn't see anything in the spec that would preclude qualifying the header name with path info).