Seems to me it would make more sense for the message XXXX.hs:214: unterminated `{-' message to tell me where the {- is, rather than where the EOF is.