Properly report parse errors, #51