function logop

static NODE * logop(enum node_type type, NODE *left, NODE *right)