(DFN_INCR_DEPTH): Define instead of DFN_DEPTH. (dfn_stack): Define as pointer rather than array. (pre_visit): Reallocate dfn_stack as needed.