Ident. list won't be updated if parsing failed.

Now the identifier list won't update if there are some errors in the
input code.