Pass in a pseudo-valid source location: the end of the main file.
Print qualified name in error messages.