function logop

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