gram.y: move if6 code to send.c