Fixed parser diagnostic processing.