EP_MAX_NESTS
if (depth > EP_MAX_NESTS) /* too deep nesting */
if (ep_tovisit == inserting_into || depth > EP_MAX_NESTS)
result = EP_MAX_NESTS+1;
if (result > EP_MAX_NESTS)
if (depth > EP_MAX_NESTS)
return (depth+1+upwards_depth > EP_MAX_NESTS) ? -1 : 0;