Fix line number recording in some expressions.