Mercurial > hg > Papers > 2018 > ryokka-thesis
view final_pre/src/insertCase2.c @ 17:73baedb5cdfb default tip
fix
author | kono |
---|---|
date | Thu, 22 Feb 2018 12:04:21 +0900 |
parents | 28f900230c26 |
children |
line wrap: on
line source
__code insertCase2(struct Context* context, struct Node* current) { struct Node* parent; stack_pop(context->node_stack, &parent); if (parent->color == Black) { stack_pop(context->code_stack, &context->next); goto meta(context, context->next); } stack_push(context->node_stack, &parent); goto meta(context, InsertCase3); } __code insert2_stub(struct Context* context) { goto insertCase2(context, context->data[Tree]->tree.current); }