line_last_op function

Get line last operation