better error message in ecpp parser on unexpected end of file