collect clif parse errors

should fix #1401 for .clif files. Please review.