Track "in an expansion" state and suppress confusing line numbers when we are.