astree* new_proto (int symbol, astree* a, astree* b) { astree* t = new_astree(symbol, a->filenr, a->linenr, a->offset, ""); return adopt2(t, a, b); }
astree adopt2sym (astree root, astree left, astree right, int symbol) { root = adopt2(root, left, right); root->symbol = symbol; return root; }