Fix line number for outer tokens