📄 1.finish.c
字号:
#include <stdio.h>#include "def.h"#include "1.incl.h"fingraph() { /* if any entry statements, add a DUMVX with arcs to all entry statements */ if (ENTLST) { ARC(START,0) = addum(ARC(START,0),ENTLST); freelst(ENTLST); } /* if any FMTVX, add a DUMVX with arcs to all FMTVX's */ if (FMTLST) { ARC(START,0) = addum(ARC(START,0),FMTLST); freelst(FMTLST); } }addum(v,lst)VERT v;struct list *lst; { VERT new; int count,i; struct list *ls; count = lslen(lst); /* length of lst */ new = create(DUMVX,1+count); ARC(new,0) = v; for (i = count, ls = lst; i >= 1; --i, ls = ls->nxtlist) { ASSERT(ls,addum); ARC(new,i) = ls->elt; } ASSERT(!ls, addum); return(new); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -